public interface ComponentGroup extends NXObject
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
addComponent(Component component,
boolean andChildren)
Adds a component to a component group.
|
Component[] |
getComponents()
Returns the Components within this Component Group
License requirements: None. |
int |
numberOfComponents()
Returns the number of Components within this Component Group
License requirements: None. |
PartLoadStatus |
open()
Loads a selected component group by name during Assembly part file open.
|
void |
removeComponent(Component component)
Removes a component from a component group
License requirements: adv_assemblies ("ADVANCED ASSEMBLIES") . |
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, 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
PartLoadStatus open() throws NXException, RemoteException
LoadOptions
enumerator LoadOptions.LoadComponents
and using the
specify filter option.
This method is not intented to be used after an Assembly has been
loaded but during the loading operations.
NXException
RemoteException
int numberOfComponents() throws NXException, RemoteException
NXException
RemoteException
Component[] getComponents() throws NXException, RemoteException
NXException
RemoteException
void addComponent(Component component, boolean andChildren) throws NXException, RemoteException
component
- the component to addandChildren
- if true add chilren of component alsoNXException
RemoteException
void removeComponent(Component component) throws NXException, RemoteException
component
- the component to removeNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.