NX Open C++ Reference Guide
|
Represents a CAM Feature Attribute
To obtain an instance of this class use CAM::CAMFeature
Created in NX8.0.0.
More...
Public Types | |
enum | ValueType { ValueTypeInteger, ValueTypeDouble, ValueTypeString, ValueTypeBool, ValueTypePoint3, ValueTypeVector3 } |
Attribute types. More... | |
Public Member Functions | |
NXString | DisplayName () |
Returns the name of the attribute Created in NX8.0.0. | |
bool | GetBoolValue () |
Get the feature attribute boolean value for a boolean type attribute. | |
double | GetDoubleValue () |
Get the feature attribute double value for a double type attribute. | |
int | GetIntegerValue () |
Get the feature attribute integer value for an integer type attribute. | |
NXString | GetStringValue () |
Set the feature attribute string value for a string type attribute. | |
bool | IsOverridden () |
Returns the flag that indicates if the attribute is overridden Created in NX8.0.0. | |
NXString | Name () |
Returns the name of the attribute Created in NX8.0.0. | |
void | RemoveOverriddenValue () |
Sets the overridden attribute value to undefined Created in NX8.0.0. | |
void | RemoveValue () |
Sets the attribute value to undefined Created in NX8.0.0. | |
void | SetBoolValue (bool attributeValue) |
Set the feature attribute boolean value for a boolean type attribute Created in NX8.0.0. | |
void | SetDisplayName (const NXString &name) |
Sets the name of the attribute Created in NX8.0.0. | |
void | SetDoubleValue (double attributeValue) |
Set the feature attribute double value for a double type attribute Created in NX8.0.0. | |
void | SetIntegerValue (int attributeValue) |
Set the feature attribute integer value for an integer type attribute Created in NX8.0.0. | |
void | SetStringValue (const NXString &name) |
Get the feature attribute string value for a string type attribute Created in NX8.0.0. | |
NXOpen::CAM::CAMAttribute::ValueType | Type () |
Returns the feature attribute type Created in NX8.0.0. |
Represents a CAM Feature Attribute
To obtain an instance of this class use CAM::CAMFeature
Created in NX8.0.0.
Returns the name of the attribute
Created in NX8.0.0.
License requirements : None
Get the feature attribute boolean value for a boolean type attribute.
double NXOpen::CAM::CAMAttribute::GetDoubleValue | ( | ) |
Get the feature attribute double value for a double type attribute.
Get the feature attribute integer value for an integer type attribute.
Set the feature attribute string value for a string type attribute.
Returns the flag that indicates if the attribute is overridden
Created in NX8.0.0.
License requirements : None
NXString NXOpen::CAM::CAMAttribute::Name | ( | ) | [virtual] |
Returns the name of the attribute
Created in NX8.0.0.
License requirements : None
Reimplemented from NXOpen::NXObject.
Sets the overridden attribute value to undefined
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE")
Sets the attribute value to undefined
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE")
void NXOpen::CAM::CAMAttribute::SetBoolValue | ( | bool | attributeValue | ) |
Set the feature attribute boolean value for a boolean type attribute
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")
attributeValue | attributevalue |
void NXOpen::CAM::CAMAttribute::SetDisplayName | ( | const NXString & | name | ) |
Sets the name of the attribute
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE")
name | name |
void NXOpen::CAM::CAMAttribute::SetDoubleValue | ( | double | attributeValue | ) |
Set the feature attribute double value for a double type attribute
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")
attributeValue | attributevalue |
void NXOpen::CAM::CAMAttribute::SetIntegerValue | ( | int | attributeValue | ) |
Set the feature attribute integer value for an integer type attribute
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")
attributeValue | attributevalue |
void NXOpen::CAM::CAMAttribute::SetStringValue | ( | const NXString & | name | ) |
Get the feature attribute string value for a string type attribute
Created in NX8.0.0.
License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")
name | name |
Returns the feature attribute type
Created in NX8.0.0.
License requirements : None