public interface FamilyAttribute extends NXObject
TemplateManager.getPartFamilyAttribute(nxopen.partfamily.FamilyAttribute.AttrType, java.lang.String)
to get an instance of this class.
This method will not create a new part family attribute. It will only return attribute that is already created.
To create a new attribute, use TemplateManager.addToChosenAttributes(java.lang.String[], nxopen.partfamily.FamilyAttribute.AttrType[], int)
, which
will create an attribute and add to chosen attributes list on template manager. It is not allowed to create
a standalone attribute that is not added to chosen attributes list. Modifier and Type | Interface and Description |
---|---|
static class |
FamilyAttribute.AttrType
The part family attribute types.
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
boolean |
isOptional()
Returns a value indicating whether the attribute is an optional attribute.
|
boolean |
isRequired()
Returns a value indicating whether the attribute is a required attribute.
|
String |
name()
Returns the name of the given attribute
License requirements: solid_modeling ("SOLIDS MODELING") . |
FamilyAttribute.AttrType |
type()
Returns the type of the given attribute
License requirements: solid_modeling ("SOLIDS MODELING") . |
String |
value()
Returns the value of the given attribute
License requirements: solid_modeling ("SOLIDS MODELING") . |
int |
version()
Returns the version of the given attribute
License requirements: solid_modeling ("SOLIDS MODELING") . |
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, owningComponent, owningPart, print, prototype, setName
FamilyAttribute.AttrType type() throws NXException, RemoteException
NXException
RemoteException
String value() throws NXException, RemoteException
NXException
RemoteException
String name() throws NXException, RemoteException
name
in interface INXObject
NXException
RemoteException
int version() throws NXException, RemoteException
NXException
RemoteException
boolean isRequired() throws NXException, RemoteException
NXException
RemoteException
boolean isOptional() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.