public interface AttributeSelectionRecipe extends SelectionRecipe
SelectionRecipeCollection
. Modifier and Type | Interface and Description |
---|---|
static class |
AttributeSelectionRecipe.UserAttributesData
This class holds the data returned from
getUserAttributes(java.lang.String) |
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
clearAllAttributes()
Clear all attributes
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
int |
colorAttribute()
Returns the color attribute.
|
boolean |
getHasUserAttributes(String attributeName)
Gets the presence of the user attribute with given name.
|
String[] |
getUserAttributeNames()
Gets the names of all set user attributes.
|
AttributeSelectionRecipe.UserAttributesData |
getUserAttributes(String attributeName)
Gets the low and high value of user attribute with given name.
|
boolean |
hasColorAttribute()
Returns the presence of the color attribute.
|
boolean |
hasNameAttribute()
Returns the presence of the name attribute.
|
String |
nameAttribute()
Returns the name attribute.
|
void |
removeColorAttribute()
Removes the color attribute.
|
void |
removeNameAttribute()
Removes the name attribute.
|
void |
removeUserAttributes(String attributeName)
Removes the user attribute with given name.
|
void |
setColorAttribute(int color)
Sets or adds the color attribute.
|
void |
setNameAttribute(String name)
Sets or adds the name attribute.
|
void |
setUserAttributes(boolean setNameAttribute,
String nameAttribute,
boolean setColorAttribute,
int colorAttribute,
String[] userAttributeNames,
NXObject.AttributeInformation[] lowValueAttributes,
NXObject.AttributeInformation[] highValueAttributes)
Convenience method to set multiple attributes at once.
|
void |
setUserAttributes(String attributeName,
NXObject.AttributeInformation lowValueAttribute,
NXObject.AttributeInformation highValueAttribute)
Sets or adds the low and high value of user attribute with given name.
|
display, getEntities, getEntityTypes, getName, hasNonDisplayableEntities, hideContents, information, setName, showContents, showContentsOnly
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
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
boolean hasNameAttribute() throws NXException, RemoteException
NXException
RemoteException
String nameAttribute() throws NXException, RemoteException
NXException
RemoteException
void setNameAttribute(String name) throws NXException, RemoteException
name
- NXException
RemoteException
void removeNameAttribute() throws NXException, RemoteException
NXException
RemoteException
boolean hasColorAttribute() throws NXException, RemoteException
NXException
RemoteException
int colorAttribute() throws NXException, RemoteException
NXException
RemoteException
void setColorAttribute(int color) throws NXException, RemoteException
color
- NXException
RemoteException
void removeColorAttribute() throws NXException, RemoteException
NXException
RemoteException
String[] getUserAttributeNames() throws NXException, RemoteException
NXException
RemoteException
boolean getHasUserAttributes(String attributeName) throws NXException, RemoteException
attributeName
- NXException
RemoteException
AttributeSelectionRecipe.UserAttributesData getUserAttributes(String attributeName) throws NXException, RemoteException
attributeName
- NXException
RemoteException
void setUserAttributes(String attributeName, NXObject.AttributeInformation lowValueAttribute, NXObject.AttributeInformation highValueAttribute) throws NXException, RemoteException
attributeName
- lowValueAttribute
- highValueAttribute
- NXException
RemoteException
void removeUserAttributes(String attributeName) throws NXException, RemoteException
attributeName
- NXException
RemoteException
void clearAllAttributes() throws NXException, RemoteException
NXException
RemoteException
void setUserAttributes(boolean setNameAttribute, String nameAttribute, boolean setColorAttribute, int colorAttribute, String[] userAttributeNames, NXObject.AttributeInformation[] lowValueAttributes, NXObject.AttributeInformation[] highValueAttributes) throws NXException, RemoteException
setNameAttribute
- nameAttribute
- setColorAttribute
- colorAttribute
- userAttributeNames
- lowValueAttributes
- highValueAttributes
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.