public interface CloneObject extends TransientObject
AddReusablePart.createCloneObject(nxopen.tooling.ToolingApplication, java.lang.String)
Modifier and Type | Method and Description |
---|---|
void |
addAssembly(String assemName)
Adds the part/assembly to be cloned.
|
void |
addAssociatedPart(String clonedPartName,
ToolingCloneparttype fileType)
Adds other part (FEM, SIM part etc.) to be cloned
License requirements: None. |
ClonePart[] |
buildClonePartItems()
Builds the cloned part name (item id, item name, revision id) etc.
|
ToolingClonemethod |
cloneMethod()
Returns the clone method
License requirements: None. |
String |
commit()
Performs the clone operation.
|
ClonePart |
createClonePartItem(String partName)
Creates a new clone part item.
|
ClonePart |
findClonePartItem(String partName)
Find the part item to be cloned by giving part name
License requirements: None. |
ClonePart |
findClonePartItemByIndex(int index)
Find the part item to be cloned by giving index
License requirements: None. |
String |
outputFolder()
Returns the destination folder
License requirements: None. |
void |
setCloneMethod(ToolingClonemethod cloneMethod)
License requirements: None. |
void |
setNextNumber(int nextNumber)
Sets the next number of clone object.
|
void |
setOutputFolder(String outputFolder)
License requirements: None. |
_value, dispose, printTestData, printTestData
void addAssembly(String assemName) throws NXException, RemoteException
assemName
- Project assembly nameNXException
RemoteException
ClonePart createClonePartItem(String partName) throws NXException, RemoteException
partName
- clone part nameClonePart
instanceNXException
RemoteException
String commit() throws NXException, RemoteException
NXException
RemoteException
ClonePart findClonePartItem(String partName) throws NXException, RemoteException
partName
- clone part nameClonePart
instanceNXException
RemoteException
ClonePart findClonePartItemByIndex(int index) throws NXException, RemoteException
index
- indexClonePart
instanceNXException
RemoteException
String outputFolder() throws NXException, RemoteException
NXException
RemoteException
void setOutputFolder(String outputFolder) throws NXException, RemoteException
outputFolder
- If this folder is not set, it will use the folder of display partNXException
RemoteException
ToolingClonemethod cloneMethod() throws NXException, RemoteException
NXException
RemoteException
void setCloneMethod(ToolingClonemethod cloneMethod) throws NXException, RemoteException
cloneMethod
- NXException
RemoteException
void addAssociatedPart(String clonedPartName, ToolingCloneparttype fileType) throws NXException, RemoteException
clonedPartName
- part namefileType
- part file typeNXException
RemoteException
void setNextNumber(int nextNumber) throws NXException, RemoteException
nextNumber
- next numberNXException
RemoteException
ClonePart[] buildClonePartItems() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.