NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
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 NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  DestinationCoordinateSystemSpecificationType { Work, Specified }
 Specifies the destination coordinate system specification. More...
 
enum  LayerOptionType { Work, Original }
 Specifies on which layer to import a part. More...
 

Public Member Functions

unsafe void SetSpecifiedCoordinateSystem (NXOpen.CoordinateSystem specifiedCoordinateSystem)
 Sets the specified coordinate system. More...
 
unsafe void SetSpecifiedCoordinateSystem (NXOpen.CoordinateSystem specifiedCoordinateSystem, bool deleteSpecifiedCoordinateSystem)
 Sets the specified coordinate system. More...
 

Properties

unsafe bool CreateNamedGroup [get, set]
 Returns or sets the Create Named Group flag. More...
 
unsafe NXOpen.NXMatrix DestinationCoordinateSystem [get, set]
 Returns or sets the destination coordinate system. More...
 
unsafe
NXOpen.PartImporter.DestinationCoordinateSystemSpecificationType 
DestinationCoordinateSystemSpecification [get, set]
 Returns or sets the destination coordinate system specification. More...
 
unsafe NXOpen.Point3d DestinationPoint [get, set]
 Returns or sets the destination point. More...
 
unsafe bool ImportCamObjects [get, set]
 Returns or sets the Import CAM Objects flag. More...
 
unsafe bool ImportViews [get, set]
 Returns or sets the Import Views flag. More...
 
unsafe
NXOpen.PartImporter.LayerOptionType 
LayerOption [get, set]
 Returns or sets the layer option. More...
 
unsafe double Scale [get, set]
 Returns or sets the scale. More...
 
- Properties inherited from NXOpen.Importer
unsafe string FileName [get, set]
 Returns or sets the name of the file containing the data to import. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

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. A named group will be created with the contents of the imported part if the property NXOpen.PartImporter.CreateNamedGroup is turned on. You can access the named group which is created when importing the part by accessing the object array returned from the method Builder.GetCommittedObjects after you execute the Builder.Commit on the NXOpen.PartImporter .

To obtain an instance of this class use ImportManager.CreatePartImporter .

Created in NX5.0.0

Member Enumeration Documentation

Specifies the destination coordinate system specification.

Enumerator
Work 

Use Work Coordinate System.

Specified 

Use specified coordinate system.

Specifies on which layer to import a part.

Enumerator
Work 

Import part on work layer.

Original 

Import part on original layers.

Member Function Documentation

unsafe void NXOpen.PartImporter.SetSpecifiedCoordinateSystem ( NXOpen.CoordinateSystem  specifiedCoordinateSystem)
inline

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
specifiedCoordinateSystem
unsafe void NXOpen.PartImporter.SetSpecifiedCoordinateSystem ( NXOpen.CoordinateSystem  specifiedCoordinateSystem,
bool  deleteSpecifiedCoordinateSystem 
)
inline

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
specifiedCoordinateSystem
deleteSpecifiedCoordinateSystemIf true, the specified coordinate system is deleted.

Property Documentation

unsafe bool NXOpen.PartImporter.CreateNamedGroup
getset

Returns or sets the Create Named Group flag.

True if the Create Named Group flag is on.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.NXMatrix NXOpen.PartImporter.DestinationCoordinateSystem
getset

Returns or sets the destination coordinate system.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.PartImporter.DestinationCoordinateSystemSpecificationType NXOpen.PartImporter.DestinationCoordinateSystemSpecification
getset

Returns or sets the destination coordinate system specification.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Point3d NXOpen.PartImporter.DestinationPoint
getset

Returns or sets the destination point.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.PartImporter.ImportCamObjects
getset

Returns or sets the Import CAM Objects flag.

True if the Import CAM Objects flag is on.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.PartImporter.ImportViews
getset

Returns or sets the Import Views flag.

True if the Import Views flag is on.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.PartImporter.LayerOptionType NXOpen.PartImporter.LayerOption
getset

Returns or sets the layer option.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.PartImporter.Scale
getset

Returns or sets the scale.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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