NX Open C++ Reference Guide
|
Builder for "object attribute" used in formboard which enbles user to create annotation in drafting functionality. More...
Public Types | |
enum | LeaderType { LeaderTypeNone, LeaderTypeSingleLocation, LeaderTypeStartandEndLocations } |
Enum which defines types of leader user wants to associate with the annotation. More... | |
Public Member Functions | |
NXOpen::Annotations::LeaderBuilder * | AnnotLeader () |
Returns the Annotations::LeaderBuilder for the annotation Created in NX7.5.0. | |
NXOpen::Annotations::OriginBuilder * | CompOrigin () |
Returns the comp origin Created in NX7.5.0. | |
NXOpen::Formboard::ObjectAttributeReferenceBuilder::LeaderType | EnumType () |
Returns the enum type Created in NX7.5.0. | |
NXOpen::SelectNXObject * | ObjectSelection () |
Returns the object selected by user to associated annotation Created in NX7.5.0. | |
void | SetEnumType (NXOpen::Formboard::ObjectAttributeReferenceBuilder::LeaderType enumType) |
Sets the enum type Created in NX7.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
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. | |
Builder for "object attribute" used in formboard which enbles user to create annotation in drafting functionality.
It creates a tabular note and displays object attributes of a single object selected by user.
To create a new instance of this class, use Formboard::FormboardManager::CreateObjectAttributeReferenceBuilder
Default values.
Property | Value |
---|---|
EnumType |
None |
Created in NX7.5.0.
Enum which defines types of leader user wants to associate with the annotation.
User can either create no leader or one or two leader for the annotation when picking the associated object.
NXOpen::Annotations::LeaderBuilder* NXOpen::Formboard::ObjectAttributeReferenceBuilder::AnnotLeader | ( | ) |
Returns the Annotations::LeaderBuilder for the annotation
Created in NX7.5.0.
License requirements : routing_harness ("Routing Harness")
NXOpen::Annotations::OriginBuilder* NXOpen::Formboard::ObjectAttributeReferenceBuilder::CompOrigin | ( | ) |
Returns the comp origin
Created in NX7.5.0.
License requirements : routing_harness ("Routing Harness")
NXOpen::Formboard::ObjectAttributeReferenceBuilder::LeaderType NXOpen::Formboard::ObjectAttributeReferenceBuilder::EnumType | ( | ) |
Returns the enum type
Created in NX7.5.0.
License requirements : routing_harness ("Routing Harness")
NXOpen::SelectNXObject* NXOpen::Formboard::ObjectAttributeReferenceBuilder::ObjectSelection | ( | ) |
Returns the object selected by user to associated annotation
Created in NX7.5.0.
License requirements : routing_harness ("Routing Harness")
void NXOpen::Formboard::ObjectAttributeReferenceBuilder::SetEnumType | ( | NXOpen::Formboard::ObjectAttributeReferenceBuilder::LeaderType | enumType | ) |
Sets the enum type
Created in NX7.5.0.
License requirements : routing_harness ("Routing Harness")
enumType | enumtype |