NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::PartImporter Class Reference

Used to import a part into the work part. More...

Inheritance diagram for NXOpen::PartImporter:
NXOpen::Importer NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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::NXMatrixDestinationCoordinateSystem ()
 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.

Detailed Description

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.


Member Enumeration Documentation

Specifies the destination coordinate system specification.


Created in NX5.0.0.

Enumerator:
DestinationCoordinateSystemSpecificationTypeWork 

Use Work Coordinate System.

DestinationCoordinateSystemSpecificationTypeSpecified 

Use specified coordinate system.

Specifies on which layer to import a part.


Created in NX5.0.0.

Enumerator:
LayerOptionTypeWork 

Import part on work layer.

LayerOptionTypeOriginal 

Import part on original layers.


Member Function Documentation

Returns the Create Named Group flag.

True if the Create Named Group flag is on.


Created in NX5.0.0.

License requirements : None

Returns the destination coordinate system.


Created in NX5.0.0.

License requirements : None

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

Returns the Import CAM Objects flag.

True if the Import CAM Objects flag is on.


Created in NX5.0.0.

License requirements : None

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

Returns the scale.


Created in NX5.0.0.

License requirements : None

void NXOpen::PartImporter::SetCreateNamedGroup ( bool  createNamedGroup)

Sets the Create Named Group flag.

True if the Create Named Group flag is on.


Created in NX5.0.0.

License requirements : None

Parameters:
createNamedGroupcreate named group

Sets the destination coordinate system.


Created in NX5.0.0.

License requirements : None

Parameters:
destinationCoordinateSystemdestination coordinate system

Sets the destination coordinate system specification.


Created in NX5.0.0.

License requirements : None

Parameters:
destinationCoordinateSystemSpecificationdestination coordinate system specification
void NXOpen::PartImporter::SetDestinationPoint ( const NXOpen::Point3d destinationPoint)

Sets the destination point.


Created in NX5.0.0.

License requirements : None

Parameters:
destinationPointdestination point
void NXOpen::PartImporter::SetImportCamObjects ( bool  importCamObjects)

Sets the Import CAM Objects flag.

True if the Import CAM Objects flag is on.


Created in NX5.0.0.

License requirements : None

Parameters:
importCamObjectsimport cam objects
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

Parameters:
importViewsimport views

Sets the layer option.


Created in NX5.0.0.

License requirements : None

Parameters:
layerOptionlayer option
void NXOpen::PartImporter::SetScale ( double  scale)

Sets the scale.


Created in NX5.0.0.

License requirements : None

Parameters:
scalescale

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

Parameters:
specifiedCoordinateSystemspecified 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

Parameters:
specifiedCoordinateSystemspecified coordinate system
deleteSpecifiedCoordinateSystemIf true, the specified coordinate system is deleted.

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.