NX Open C++ Reference Guide
|
Represents a Die::DieAttributesBuilder . More...
Public Member Functions | |
NXOpen::NXColor * | AttributeColor () |
Returns the color to be applied to the face, or faces, in the application Created in NX6.0.0. | |
NXString | AttributeTitle () |
Returns the title of the attribute to be applied Created in NX6.0.0. | |
NXString | AttributeValue () |
Returns the value given to the attribute Created in NX6.0.0. | |
void | SetAttributeColor (NXOpen::NXColor *attributeColor) |
Sets the color to be applied to the face, or faces, in the application Created in NX6.0.0. | |
void | SetAttributeTitle (const NXString &attributeTitle) |
Sets the title of the attribute to be applied Created in NX6.0.0. | |
void | SetAttributeTitle (const char *attributeTitle) |
Sets the title of the attribute to be applied Created in NX6.0.0. | |
void | SetAttributeValue (const NXString &attributeValue) |
Sets the value given to the attribute Created in NX6.0.0. | |
void | SetAttributeValue (const char *attributeValue) |
Sets the value given to the attribute Created in NX6.0.0. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Die::DieAttributesBuilder .
The Die Attributes class is a helper to the main Die Design feature to gather the attribute title and value and face color to be applied. The attribute will be applied to a face or faces in the application of varying types, such as a base face.
To create a new instance of this class, use Die::DieCollection::CreateDieAttribute
Created in NX6.0.0.
NXOpen::NXColor* NXOpen::Die::DieAttributesBuilder::AttributeColor | ( | ) |
Returns the color to be applied to the face, or faces, in the application
Created in NX6.0.0.
License requirements : None
NXString NXOpen::Die::DieAttributesBuilder::AttributeTitle | ( | ) |
Returns the title of the attribute to be applied
Created in NX6.0.0.
License requirements : None
NXString NXOpen::Die::DieAttributesBuilder::AttributeValue | ( | ) |
Returns the value given to the attribute
Created in NX6.0.0.
License requirements : None
void NXOpen::Die::DieAttributesBuilder::SetAttributeColor | ( | NXOpen::NXColor * | attributeColor | ) |
Sets the color to be applied to the face, or faces, in the application
Created in NX6.0.0.
License requirements : ug_die_design ("Die Design")
attributeColor | attributecolor |
void NXOpen::Die::DieAttributesBuilder::SetAttributeTitle | ( | const NXString & | attributeTitle | ) |
Sets the title of the attribute to be applied
Created in NX6.0.0.
License requirements : ug_die_design ("Die Design")
attributeTitle | attributetitle |
void NXOpen::Die::DieAttributesBuilder::SetAttributeTitle | ( | const char * | attributeTitle | ) |
Sets the title of the attribute to be applied
Created in NX6.0.0.
License requirements : ug_die_design ("Die Design")
attributeTitle | attributetitle |
void NXOpen::Die::DieAttributesBuilder::SetAttributeValue | ( | const NXString & | attributeValue | ) |
Sets the value given to the attribute
Created in NX6.0.0.
License requirements : ug_die_design ("Die Design")
attributeValue | attributevalue |
void NXOpen::Die::DieAttributesBuilder::SetAttributeValue | ( | const char * | attributeValue | ) |
Sets the value given to the attribute
Created in NX6.0.0.
License requirements : ug_die_design ("Die Design")
attributeValue | attributevalue |
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.