NX Open C++ Reference Guide
|
Represents an NXOpen::PDM::PartCreationObjectAttributePropertiesBuilder . More...
Additional Inherited Members | |
Public Types inherited from NXOpen::AttributePropertiesBaseBuilder | |
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... | |
Public Member Functions inherited from NXOpen::AttributePropertiesBaseBuilder | |
bool | ApplyUnits () |
Apply the units currently set on the builder to any objects that have a value set for the current attribute. More... | |
int | ArrayIndex () |
Returns the array index. More... | |
NXOpen::AttributePropertiesBaseBuilder::BooleanValueOptions | BooleanValue () |
Returns the boolean value. More... | |
NXString | Category () |
Returns the category. More... | |
bool | CreateAttribute () |
Create the attribute from the data set in the builder. More... | |
NXOpen::AttributePropertiesBaseBuilder::DataTypeOptions | DataType () |
Returns the data type, which determines the type of attribute to be created. More... | |
NXOpen::DateBuilder * | DateValue () |
Returns the date value. More... | |
void | Delete (NXOpen::NXObject *object) |
Delete the attribute from the given object. More... | |
void | DeleteArray (NXOpen::NXObject *object) |
Delete the attribute array from the given object. More... | |
NXOpen::Expression * | Expression () |
Returns the expression referenced from this attribute. More... | |
int | IntegerValue () |
Returns the integer value. More... | |
bool | IsArray () |
Returns the 'is array' flag is set for attributes that have more than one value. More... | |
bool | IsReferenceType () |
Returns the 'is reference type' flag is set for attributes that are linked to system expressions. More... | |
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. More... | |
double | NumberValue () |
Returns the number value. More... | |
NXOpen::AttributePropertiesBaseBuilder::ObjectOptions | ObjectPicker () |
Returns the object picker. More... | |
NXOpen::SelectNXObjectList * | SelectedObjects () |
Returns the selected object(s) list. More... | |
void | SetArray (bool isArray) |
Sets the 'is array' flag is set for attributes that have more than one value. More... | |
void | SetArrayIndex (int arrayIndex) |
Sets the array index. More... | |
void | SetAttributeObjects (const std::vector< NXOpen::NXObject * > &objects) |
Sets the array of objects that have this attribute Created in NX8.5.0. More... | |
void | SetBooleanValue (NXOpen::AttributePropertiesBaseBuilder::BooleanValueOptions boolValue) |
Sets the boolean value. More... | |
void | SetCategory (const NXString &category) |
Sets the category. More... | |
void | SetCategory (const char *category) |
Sets the category. More... | |
void | SetDataType (NXOpen::AttributePropertiesBaseBuilder::DataTypeOptions dataType) |
Sets the data type, which determines the type of attribute to be created. More... | |
void | SetExpression (NXOpen::Expression *expression) |
Sets the expression referenced from this attribute. More... | |
void | SetIntegerValue (int integerValue) |
Sets the integer value. More... | |
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. More... | |
void | SetNumberValue (double numberValue) |
Sets the number value. More... | |
void | SetObjectPicker (NXOpen::AttributePropertiesBaseBuilder::ObjectOptions objectPicker) |
Sets the object picker. More... | |
void | SetReferenceType (bool isReferenceType) |
Sets the 'is reference type' flag is set for attributes that are linked to system expressions. More... | |
void | SetStringValue (const NXString &stringValue) |
Sets the string value. More... | |
void | SetStringValue (const char *stringValue) |
Sets the string value. More... | |
void | SetTitle (const NXString &title) |
Sets the attribute title. More... | |
void | SetTitle (const char *title) |
Sets the attribute title. More... | |
void | SetUnits (const NXString &units) |
Sets the units associated with an attribute of type Number. More... | |
void | SetUnits (const char *units) |
Sets the units associated with an attribute of type Number. More... | |
void | SetValueAlias (const NXString &valueAlias) |
Sets the value alias. More... | |
void | SetValueAlias (const char *valueAlias) |
Sets the value alias. More... | |
NXString | StringValue () |
Returns the string value. More... | |
NXString | Title () |
Returns the attribute title. More... | |
NXString | Units () |
Returns the units associated with an attribute of type Number. More... | |
NXString | ValueAlias () |
Returns the value alias. More... | |
Represents an NXOpen::PDM::PartCreationObjectAttributePropertiesBuilder .
To create a new instance of this class, use NXOpen::PDM::PartCreationObject::CreateAttributePropertiesBuilder
Default values.
Property | Value |
---|---|
BooleanValue |
False |
DataType |
String |
IntegerValue |
0 |
NumberValue |
0 |
ObjectPicker (deprecated) |
Object |
Created in NX8.0.0.