public interface PartOperationCreateBuilder extends PartOperationBuilder
PdmSession.createCreateOperationBuilder(nxopen.pdm.PartOperationBuilder.OperationType)
Modifier and Type | Interface and Description |
---|---|
static class |
PartOperationCreateBuilder.OperationSubType
Represents an operation sub type for creating a part
|
PartOperationBuilder.DependentFileSaveAs, PartOperationBuilder.NonMasterSaveAs, PartOperationBuilder.OperationType
Modifier and Type | Method and Description |
---|---|
boolean |
getAddMaster()
Returns logical value to indicate whether master to be added as child component
License requirements: None. |
PartOperationCreateBuilder.OperationSubType |
getOperationSubType()
Returns the
PartOperationCreateBuilder.OperationSubType for Create. |
void |
setAddMaster(boolean addMaster)
Sets the Add Master Flag
Use this only in case creating a new Altrep.
|
void |
setItemType(String itemType)
Sets the selected Item Type
License requirements: None. |
void |
setMasterPart(BasePart masterPart)
Sets the Master Part
Use this only in case the part your are trying to create supports master model.
|
void |
setModelType(String modelType)
Sets the selected Model Type
This is same as the Relation Type that is set by
FileNew.relationType() and is same as
the relation type specified in Template PAX files. |
void |
setOperationSubType(PartOperationCreateBuilder.OperationSubType operatioSubType)
Sets the
PartOperationCreateBuilder.OperationSubType for Create. |
void |
setPartSpecToOpen(String partSpecToOpen)
Sets the Part Spec of the part to open in case of Select Template Dialog
This is only applicable if
PartOperationCreateBuilder.OperationSubType is set to
PartOperationCreateBuilder.OperationSubType.SELECT_TEMPLATE
partSpecTopOpen can be a CLI format (@DB/MFKID/RevId) or full TCIN file specification (starting with %UGMGR)
License requirements: None. |
void |
setPartsToRename(BasePart[] partsToRename)
Sets the Parts To Rename on the Builder.
|
addRelatedPartToOperate, createLogicalObjects, createNonMasterListForLogicalObject, createSpecificationsForLogicalObjects, defaultDestinationFolder, dependentFileSaveAsOption, editNonMasterName, getAlternateIDManager, getDialogOperation, getNonMasterCopyOption, getNonMasterList, getOperationFailures, isNonMasterBeingCopied, replaceAllComponents, setDefaultDestinationFolder, setDependentFileSaveAsOption, setDialogOperation, setNonMasterSaveAsOption, setReplaceAllComponents, setSelectedNonMasterToSaveAs, setSelectedParts, validateLogicalObjectsToCommit
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
autoAssignAttributes
void setItemType(String itemType) throws NXException, RemoteException
itemType
- NXException
RemoteException
void setModelType(String modelType) throws NXException, RemoteException
FileNew.relationType()
and is same as
the relation type specified in Template PAX files.
This is needed to be set only when the PartOperationCreateBuilder.OperationSubType
is set
to PartOperationCreateBuilder.OperationSubType.CREATE_SPECIFICATION
. In other cases
this is read from the Template. If not set this is always assumed to be "master".
Example strings are "specification", "manifestation", etc.
modelType
- NXException
RemoteException
void setMasterPart(BasePart masterPart) throws NXException, RemoteException
masterPart
- NXException
RemoteException
PartOperationCreateBuilder.OperationSubType getOperationSubType() throws NXException, RemoteException
PartOperationCreateBuilder.OperationSubType
for Create.
NXException
RemoteException
void setOperationSubType(PartOperationCreateBuilder.OperationSubType operatioSubType) throws NXException, RemoteException
PartOperationCreateBuilder.OperationSubType
for Create.
operatioSubType
- NXException
RemoteException
void setAddMaster(boolean addMaster) throws NXException, RemoteException
addMaster
- NXException
RemoteException
void setPartsToRename(BasePart[] partsToRename) throws NXException, RemoteException
PartOperationCreateBuilder.OperationSubType
is set to
PartOperationCreateBuilder.OperationSubType.RENAME
partsToRename
- NXException
RemoteException
boolean getAddMaster() throws NXException, RemoteException
NXException
RemoteException
void setPartSpecToOpen(String partSpecToOpen) throws NXException, RemoteException
PartOperationCreateBuilder.OperationSubType
is set to
PartOperationCreateBuilder.OperationSubType.SELECT_TEMPLATE
partSpecTopOpen can be a CLI format (@DB/MFKID/RevId) or full TCIN file specification (starting with %UGMGR)
partSpecToOpen
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.