Modifier and Type | Method and Description |
---|---|
void |
closePart(NXObject part,
BasePart.CloseWholeTree wholeTree,
BasePart.CloseModified closeModified)
Close an existing part
License requirements: None. |
CloneObject |
createCloneObject(ToolingApplication applicationType,
ToolingCloneaction cloneActionType)
Creates the clone operation object
License requirements: None. |
SpreadsheetData |
createSpreadsheetData()
Creates an instance of class
SpreadsheetData . |
Component[] |
getReusableComponent()
Gets the reusable component
License requirements: None. |
NXObject[] |
getReusableObjects(NXObject part)
Gets the last added reusable object
License requirements: None. |
BasePart |
loadReusablePart(String filename,
boolean isNativePart)
Opens an existing part, but does not set it to be the displayed part.
|
SpreadsheetData createSpreadsheetData() throws NXException, RemoteException
SpreadsheetData
.
Please note this method will only create an empty class SpreadsheetData
object,
it needs to call other method SpreadsheetData.readData(java.lang.String)
to retrieve the data.
SpreadsheetData
instanceNXException
RemoteException
CloneObject createCloneObject(ToolingApplication applicationType, ToolingCloneaction cloneActionType) throws NXException, RemoteException
applicationType
- Application type to determine the clone settingscloneActionType
- Clone action typeCloneObject
instanceNXException
RemoteException
Component[] getReusableComponent() throws NXException, RemoteException
NXException
RemoteException
NXObject[] getReusableObjects(NXObject part) throws NXException, RemoteException
part
- Tag of the part that contains reusable objectsNXException
RemoteException
BasePart loadReusablePart(String filename, boolean isNativePart) throws NXException, RemoteException
filename
- Name of part fileisNativePart
- Is the file from native or TCNXException
RemoteException
void closePart(NXObject part, BasePart.CloseWholeTree wholeTree, BasePart.CloseModified closeModified) throws NXException, RemoteException
part
- Tag of the part that will be closedwholeTree
- If true, unloads all components of the part.
If false, unloads only the top-level partcloseModified
- Behavior of close if component
parts are modified.NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.