public interface PartImporter extends Importer
createNamedGroup()
and setCreateNamedGroup(boolean)
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 PartImporter
.
ImportManager.createPartImporter()
. Modifier and Type | Interface and Description |
---|---|
static class |
PartImporter.DestinationCoordinateSystemSpecificationType
Specifies the destination coordinate system specification.
|
static class |
PartImporter.LayerOptionType
Specifies on which layer to import a part.
|
Modifier and Type | Method and Description |
---|---|
boolean |
createNamedGroup()
Returns the Create Named Group flag.
|
NXMatrix |
destinationCoordinateSystem()
Returns the destination coordinate system.
|
PartImporter.DestinationCoordinateSystemSpecificationType |
destinationCoordinateSystemSpecification()
Returns the destination coordinate system specification.
|
Point3d |
destinationPoint()
Returns the destination point.
|
boolean |
importCamObjects()
Returns the Import CAM Objects flag.
|
boolean |
importViews()
Returns the Import Views flag.
|
PartImporter.LayerOptionType |
layerOption()
Returns the layer option.
|
double |
scale()
Returns the scale.
|
void |
setCreateNamedGroup(boolean createNamedGroup)
Sets the Create Named Group flag.
|
void |
setDestinationCoordinateSystem(NXMatrix destinationCoordinateSystem)
Sets the destination coordinate system.
|
void |
setDestinationCoordinateSystemSpecification(PartImporter.DestinationCoordinateSystemSpecificationType destinationCoordinateSystemSpecification)
Sets the destination coordinate system specification.
|
void |
setDestinationPoint(Point3d destinationPoint)
Sets the destination point.
|
void |
setImportCamObjects(boolean importCamObjects)
Sets the Import CAM Objects flag.
|
void |
setImportViews(boolean importViews)
Sets the Import Views flag.
|
void |
setLayerOption(PartImporter.LayerOptionType layerOption)
Sets the layer option.
|
void |
setScale(double scale)
Sets the scale.
|
void |
setSpecifiedCoordinateSystem(CoordinateSystem specifiedCoordinateSystem)
Sets the specified coordinate system.
|
void |
setSpecifiedCoordinateSystem(CoordinateSystem specifiedCoordinateSystem,
boolean deleteSpecifiedCoordinateSystem)
Sets the specified coordinate system.
|
fileName, setFileName
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
double scale() throws NXException, RemoteException
NXException
RemoteException
void setScale(double scale) throws NXException, RemoteException
scale
- NXException
RemoteException
boolean createNamedGroup() throws NXException, RemoteException
NXException
RemoteException
void setCreateNamedGroup(boolean createNamedGroup) throws NXException, RemoteException
createNamedGroup
- NXException
RemoteException
boolean importViews() throws NXException, RemoteException
NXException
RemoteException
void setImportViews(boolean importViews) throws NXException, RemoteException
importViews
- NXException
RemoteException
boolean importCamObjects() throws NXException, RemoteException
NXException
RemoteException
void setImportCamObjects(boolean importCamObjects) throws NXException, RemoteException
importCamObjects
- NXException
RemoteException
PartImporter.LayerOptionType layerOption() throws NXException, RemoteException
NXException
RemoteException
void setLayerOption(PartImporter.LayerOptionType layerOption) throws NXException, RemoteException
layerOption
- NXException
RemoteException
PartImporter.DestinationCoordinateSystemSpecificationType destinationCoordinateSystemSpecification() throws NXException, RemoteException
NXException
RemoteException
void setDestinationCoordinateSystemSpecification(PartImporter.DestinationCoordinateSystemSpecificationType destinationCoordinateSystemSpecification) throws NXException, RemoteException
destinationCoordinateSystemSpecification
- NXException
RemoteException
NXMatrix destinationCoordinateSystem() throws NXException, RemoteException
NXException
RemoteException
void setDestinationCoordinateSystem(NXMatrix destinationCoordinateSystem) throws NXException, RemoteException
destinationCoordinateSystem
- NXException
RemoteException
Point3d destinationPoint() throws NXException, RemoteException
NXException
RemoteException
void setDestinationPoint(Point3d destinationPoint) throws NXException, RemoteException
destinationPoint
- NXException
RemoteException
void setSpecifiedCoordinateSystem(CoordinateSystem specifiedCoordinateSystem) throws NXException, RemoteException
specifiedCoordinateSystem
- NXException
RemoteException
void setSpecifiedCoordinateSystem(CoordinateSystem specifiedCoordinateSystem, boolean deleteSpecifiedCoordinateSystem) throws NXException, RemoteException
specifiedCoordinateSystem
- deleteSpecifiedCoordinateSystem
- If true, the specified coordinate system is deleted.NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.