|
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. | |
Public Member Functions inherited from NXOpen::Importer | |
| NXString | FileName () |
| Returns the name of the file containing the data to import. | |
| void | SetFileName (const NXString &fileName) |
| Sets the name of the file containing the data to import. | |
| void | SetFileName (const char *fileName) |
| Sets the name of the file containing the data to import. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
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.
| bool NXOpen::PartImporter::CreateNamedGroup | ( | ) |
| NXOpen::NXMatrix* NXOpen::PartImporter::DestinationCoordinateSystem | ( | ) |
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
| NXOpen::Point3d NXOpen::PartImporter::DestinationPoint | ( | ) |
Returns the destination point.
Created in NX5.0.0.
License requirements : None
| bool NXOpen::PartImporter::ImportCamObjects | ( | ) |
| 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
| NXOpen::PartImporter::LayerOptionType NXOpen::PartImporter::LayerOption | ( | ) |
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. |