NX Open C++ Reference Guide
|
Represents an PDM::PartCreationObjectAttributePropertiesBuilder . More...
Additional Inherited Members | |
![]() | |
enum | BooleanValueOptions { BooleanValueOptionsFalse, BooleanValueOptionsTrue } |
The value choices for an attribute of type Boolean. More... | |
enum | DataTypeOptions { DataTypeOptionsNull, DataTypeOptionsBoolean, DataTypeOptionsInteger, DataTypeOptionsNumber, DataTypeOptionsString, DataTypeOptionsDate } |
Specifies the data type of the attribute, this cannot be changed once the attribute has been created. More... | |
enum | ObjectOptions { ObjectOptionsObject, ObjectOptionsFeature, ObjectOptionsOccurrence, ObjectOptionsComponentInstance, ObjectOptionsReferenceSet, ObjectOptionsObjectInComponentPart, ObjectOptionsComponentAsPartAttribute, ObjectOptionsEmpty } |
Specifies which object will be used when applying attributes. More... | |
![]() | |
int | ArrayIndex () |
Returns the array index. | |
NXOpen::AttributePropertiesBaseBuilder::BooleanValueOptions | BooleanValue () |
Returns the boolean value. | |
NXString | Category () |
Returns the category. | |
bool | CreateAttribute () |
Create the attribute from the data set in the builder. | |
NXOpen::AttributePropertiesBaseBuilder::DataTypeOptions | DataType () |
Returns the data type, which determines the type of attribute to be created. | |
NXOpen::DateBuilder * | DateValue () |
Returns the date value. | |
void | Delete (NXOpen::NXObject *object) |
Delete the attribute from the given object. | |
void | DeleteArray (NXOpen::NXObject *object) |
Delete the attribute array from the given object. | |
NXOpen::Expression * | Expression () |
Returns the expression referenced from this attribute. | |
int | IntegerValue () |
Returns the integer value. | |
bool | IsArray () |
Returns the 'is array' flag is set for attributes that have more than one value. | |
bool | IsReferenceType () |
Returns the 'is reference type' flag is set for attributes that are linked to system expressions. | |
bool | LockOnSave () |
Returns the 'LockOnSave' flag is set for attributes that will be locked once the part is saved (and reloaded) Created in NX8.0.0. | |
double | NumberValue () |
Returns the number value. | |
NXOpen::AttributePropertiesBaseBuilder::ObjectOptions | ObjectPicker () |
Returns the object picker. | |
NXOpen::SelectNXObjectList * | SelectedObjects () |
Returns the selected object(s) list. | |
void | SetArray (bool isArray) |
Sets the 'is array' flag is set for attributes that have more than one value. | |
void | SetArrayIndex (int arrayIndex) |
Sets the array index. | |
void | SetAttributeObjects (const std::vector< NXOpen::NXObject * > &objects) |
Sets the array of objects that have this attribute Created in NX8.5.0. | |
void | SetBooleanValue (NXOpen::AttributePropertiesBaseBuilder::BooleanValueOptions boolValue) |
Sets the boolean value. | |
void | SetCategory (const NXString &category) |
Sets the category. | |
void | SetCategory (const char *category) |
Sets the category. | |
void | SetDataType (NXOpen::AttributePropertiesBaseBuilder::DataTypeOptions dataType) |
Sets the data type, which determines the type of attribute to be created. | |
void | SetExpression (NXOpen::Expression *expression) |
Sets the expression referenced from this attribute. | |
void | SetIntegerValue (int integerValue) |
Sets the integer value. | |
void | SetLockOnSave (bool lockOnSave) |
Sets the 'LockOnSave' flag is set for attributes that will be locked once the part is saved (and reloaded) Created in NX8.0.0. | |
void | SetNumberValue (double numberValue) |
Sets the number value. | |
void | SetObjectPicker (NXOpen::AttributePropertiesBaseBuilder::ObjectOptions objectPicker) |
Sets the object picker. | |
void | SetReferenceType (bool isReferenceType) |
Sets the 'is reference type' flag is set for attributes that are linked to system expressions. | |
void | SetStringValue (const NXString &stringValue) |
Sets the string value. | |
void | SetStringValue (const char *stringValue) |
Sets the string value. | |
void | SetTitle (const NXString &title) |
Sets the attribute title. | |
void | SetTitle (const char *title) |
Sets the attribute title. | |
void | SetUnits (const NXString &units) |
Sets the units associated with an attribute of type Number. | |
void | SetUnits (const char *units) |
Sets the units associated with an attribute of type Number. | |
NXString | StringValue () |
Returns the string value. | |
NXString | Title () |
Returns the attribute title. | |
NXString | Units () |
Returns the units associated with an attribute of type Number. | |
Represents an PDM::PartCreationObjectAttributePropertiesBuilder .
<br> To create a new instance of this class, use @link PDM::PartCreationObject::CreateAttributePropertiesBuilder PDM::PartCreationObject::CreateAttributePropertiesBuilder @endlink <br>
Default values.
Property | Value |
---|---|
BooleanValue |
False |
DataType |
String |
IntegerValue |
0 |
NumberValue |
0 |
ObjectPicker |
Object |
Created in NX8.0.0.