NX Open C++ Reference Guide
|
Used to import a part into the work part. More...
Public Types | |
enum | DestinationCoordinateSystemSpecificationType { DestinationCoordinateSystemSpecificationTypeWork, DestinationCoordinateSystemSpecificationTypeSpecified } |
Specifies the destination coordinate system specification. More... | |
enum | LayerOptionType { LayerOptionTypeWork, LayerOptionTypeOriginal } |
Specifies on which layer to import a part. More... | |
Public Member Functions | |
bool | CreateNamedGroup () |
Returns the Create Named Group flag. | |
NXOpen::NXMatrix * | DestinationCoordinateSystem () |
Returns the destination coordinate system. | |
NXOpen::PartImporter::DestinationCoordinateSystemSpecificationType | DestinationCoordinateSystemSpecification () |
Returns the destination coordinate system specification. | |
NXOpen::Point3d | DestinationPoint () |
Returns the destination point. | |
bool | ImportCamObjects () |
Returns the Import CAM Objects flag. | |
bool | ImportViews () |
Returns the Import Views flag. | |
NXOpen::PartImporter::LayerOptionType | LayerOption () |
Returns the layer option. | |
double | Scale () |
Returns the scale. | |
void | SetCreateNamedGroup (bool createNamedGroup) |
Sets the Create Named Group flag. | |
void | SetDestinationCoordinateSystem (NXOpen::NXMatrix *destinationCoordinateSystem) |
Sets the destination coordinate system. | |
void | SetDestinationCoordinateSystemSpecification (NXOpen::PartImporter::DestinationCoordinateSystemSpecificationType destinationCoordinateSystemSpecification) |
Sets the destination coordinate system specification. | |
void | SetDestinationPoint (const NXOpen::Point3d &destinationPoint) |
Sets the destination point. | |
void | SetImportCamObjects (bool importCamObjects) |
Sets the Import CAM Objects flag. | |
void | SetImportViews (bool importViews) |
Sets the Import Views flag. | |
void | SetLayerOption (NXOpen::PartImporter::LayerOptionType layerOption) |
Sets the layer option. | |
void | SetScale (double scale) |
Sets the scale. | |
void | SetSpecifiedCoordinateSystem (NXOpen::CoordinateSystem *specifiedCoordinateSystem) |
Sets the specified coordinate system. | |
void | SetSpecifiedCoordinateSystem (NXOpen::CoordinateSystem *specifiedCoordinateSystem, bool deleteSpecifiedCoordinateSystem) |
Sets the specified coordinate system. |
Used to import a part into the work part.
The imported part can be an NX part or a foreign part, e.g. an I-DEAS, CATIA, or Teamcenter Visualization part.
To obtain an instance of this class use ImportManager::CreatePartImporter .
Created in NX5.0.0.
Returns the destination coordinate system.
Created in NX5.0.0.
License requirements : None
NXOpen::PartImporter::DestinationCoordinateSystemSpecificationType NXOpen::PartImporter::DestinationCoordinateSystemSpecification | ( | ) |
Returns the destination coordinate system specification.
Created in NX5.0.0.
License requirements : None
Returns the destination point.
Created in NX5.0.0.
License requirements : None
bool NXOpen::PartImporter::ImportViews | ( | ) |
Returns the Import Views flag.
True if the Import Views flag is on.
Created in NX5.0.0.
License requirements : None
Returns the layer option.
Created in NX5.0.0.
License requirements : None
double NXOpen::PartImporter::Scale | ( | ) |
Returns the scale.
Created in NX5.0.0.
License requirements : None
void NXOpen::PartImporter::SetCreateNamedGroup | ( | bool | createNamedGroup | ) |
void NXOpen::PartImporter::SetDestinationCoordinateSystem | ( | NXOpen::NXMatrix * | destinationCoordinateSystem | ) |
Sets the destination coordinate system.
Created in NX5.0.0.
License requirements : None
destinationCoordinateSystem | destination coordinate system |
void NXOpen::PartImporter::SetDestinationCoordinateSystemSpecification | ( | NXOpen::PartImporter::DestinationCoordinateSystemSpecificationType | destinationCoordinateSystemSpecification | ) |
Sets the destination coordinate system specification.
Created in NX5.0.0.
License requirements : None
destinationCoordinateSystemSpecification | destination coordinate system specification |
void NXOpen::PartImporter::SetDestinationPoint | ( | const NXOpen::Point3d & | destinationPoint | ) |
Sets the destination point.
Created in NX5.0.0.
License requirements : None
destinationPoint | destination point |
void NXOpen::PartImporter::SetImportCamObjects | ( | bool | importCamObjects | ) |
void NXOpen::PartImporter::SetImportViews | ( | bool | importViews | ) |
Sets the Import Views flag.
True if the Import Views flag is on.
Created in NX5.0.0.
License requirements : None
importViews | import views |
void NXOpen::PartImporter::SetLayerOption | ( | NXOpen::PartImporter::LayerOptionType | layerOption | ) |
Sets the layer option.
Created in NX5.0.0.
License requirements : None
layerOption | layer option |
void NXOpen::PartImporter::SetScale | ( | double | scale | ) |
Sets the scale.
Created in NX5.0.0.
License requirements : None
scale | scale |
void NXOpen::PartImporter::SetSpecifiedCoordinateSystem | ( | NXOpen::CoordinateSystem * | specifiedCoordinateSystem | ) |
Sets the specified coordinate system.
This specified coordinate system is deleted after setting the destination coordinate system
Created in NX8.0.0.
License requirements : None
specifiedCoordinateSystem | specified coordinate system |
void NXOpen::PartImporter::SetSpecifiedCoordinateSystem | ( | NXOpen::CoordinateSystem * | specifiedCoordinateSystem, |
bool | deleteSpecifiedCoordinateSystem | ||
) |
Sets the specified coordinate system.
This provides an option whether to delete the specified coordinate system. If not mark for delete then it is user's responsibility to delete the specified coordinate system.
Created in NX8.0.1.
License requirements : None
specifiedCoordinateSystem | specified coordinate system |
deleteSpecifiedCoordinateSystem | If true, the specified coordinate system is deleted. |