NX Open C++ Reference Guide
|
Represents a Drafting::AttributeItemBuilder . More...
Public Member Functions | |
void | SetTitle (const NXString &attributeTitle) |
Sets the title. | |
void | SetTitle (const char *attributeTitle) |
Sets the title. | |
void | SetValue (const NXString &attributeValue) |
Sets the value. | |
void | SetValue (const char *attributeValue) |
Sets the value. | |
NXString | Title () |
Returns the title. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
NXString | Value () |
Returns the value. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Drafting::AttributeItemBuilder .
This class is used to specify information about a single NX attribute.
To create a new instance of this class, use Drafting::AutomationManager::CreateAttributeItemBuilder
Created in NX8.0.0.
void NXOpen::Drafting::AttributeItemBuilder::SetTitle | ( | const NXString & | attributeTitle | ) |
Sets the title.
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
attributeTitle | attributetitle |
void NXOpen::Drafting::AttributeItemBuilder::SetTitle | ( | const char * | attributeTitle | ) |
Sets the title.
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
attributeTitle | attributetitle |
void NXOpen::Drafting::AttributeItemBuilder::SetValue | ( | const NXString & | attributeValue | ) |
Sets the value.
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
attributeValue | attributevalue |
void NXOpen::Drafting::AttributeItemBuilder::SetValue | ( | const char * | attributeValue | ) |
Sets the value.
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
attributeValue | attributevalue |
NXString NXOpen::Drafting::AttributeItemBuilder::Title | ( | ) |
Returns the title.
Created in NX8.0.0.
License requirements : None
|
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.
NXString NXOpen::Drafting::AttributeItemBuilder::Value | ( | ) |
Returns the value.
Created in NX8.0.0.
License requirements : None