public interface ComponentDefinition extends NXObject
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
void |
delete(String definitionPath)
Deletes definition
License requirements: nx_layout ("NX Layout") . |
DisplayableObject[] |
getMembers(Layout2dComponentMemberType memberType)
Returns an array of specified members in this component definition
License requirements: nx_layout ("NX Layout") . |
void |
rename(String definitionPath,
String newName)
Renames definition
License requirements: nx_layout ("NX Layout") . |
void |
updateImage(String definitionPath,
String imagePath)
Updates definition preview
License requirements: nx_layout ("NX Layout") . |
deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
void rename(String definitionPath, String newName) throws NXException, RemoteException
definitionPath
- Path of the definition to renamenewName
- New definition nameNXException
RemoteException
void delete(String definitionPath) throws NXException, RemoteException
definitionPath
- Path of the definition to deleteNXException
RemoteException
void updateImage(String definitionPath, String imagePath) throws NXException, RemoteException
definitionPath
- Path of the definition to renameimagePath
- Path of the image file used to update definition previewNXException
RemoteException
DisplayableObject[] getMembers(Layout2dComponentMemberType memberType) throws NXException, RemoteException
memberType
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.