public interface CloneObject extends TransientObject
AddReusablePart.createCloneObject(nxopen.tooling.ToolingApplication, java.lang.String)
Modifier and Type | Method and Description |
---|---|
void |
addAssembly(Part part)
Adds the part/assembly to be cloned.
|
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. |
void |
buildAllClonePartItems()
Builds the cloned part name (item id, item name, revision id) etc with no cloned part items output.
|
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 |
restorePartNumber()
Restore start number.
|
void |
setCloneMethod(ToolingClonemethod cloneMethod)
License requirements: None. |
void |
setDefaultItemType(String defaultItemType)
Sets the default item type.
|
void |
setDefaultNameRule(String nameRule)
Sets the name rule (refer to the Customer Defaults).
|
void |
setKeepItemType(boolean keepItemType)
Uses the item type which is same as original source item.
|
void |
setNameRule(String nameRule)
Sets the name rule.
|
void |
setNextNumber(int nextNumber)
Sets the next number of clone object.
|
void |
setOutputFolder(String outputFolder)
License requirements: None. |
void |
setProjectName(String projName)
Sets the project name.
|
void |
syncPartNumber()
Synchronize the previous number with current.
|
_value, dispose, printTestData, printTestData
void addAssembly(String assemName) throws NXException, RemoteException
assemName
- Project assembly nameNXException
RemoteException
void addAssembly(Part part) throws NXException, RemoteException
part
- The assembly to be cloned.NXException
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
void buildAllClonePartItems() throws NXException, RemoteException
NXException
RemoteException
void setProjectName(String projName) throws NXException, RemoteException
projName
- NXException
RemoteException
void setNameRule(String nameRule) throws NXException, RemoteException
nameRule
- NXException
RemoteException
void syncPartNumber() throws NXException, RemoteException
NXException
RemoteException
void restorePartNumber() throws NXException, RemoteException
NXException
RemoteException
void setKeepItemType(boolean keepItemType) throws NXException, RemoteException
keepItemType
- Keep the same item type or notNXException
RemoteException
void setDefaultItemType(String defaultItemType) throws NXException, RemoteException
defaultItemType
- Default item typeNXException
RemoteException
void setDefaultNameRule(String nameRule) throws NXException, RemoteException
nameRule
- Naming ruleNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.