|
NX Open C++ Reference Guide
|
Represents a drafting arbitrary datum target. More...
Public Member Functions | |
| virtual void | SetUpperText (const NXString &upperText) |
| Sets the target upper text. | |
| void | SetUpperText (const char *upperText) |
| Sets the target upper text. | |
| virtual NXString | UpperText () |
| Returns the target upper text. | |
Public Member Functions inherited from NXOpen::Annotations::DraftingDatumTarget | |
| NXOpen::Annotations::ArbitraryTarget * | ConvertToAreaTarget () |
| Converts a datum target point, line, or non-rectangular area to a rectangular area. | |
| NXOpen::Annotations::DraftingArbitraryTarget * | ConvertToDraftingAreaTarget () |
| Converts a drafting datum target point, line, or non-rectangular area to a drafting rectangular area. | |
| NXOpen::Annotations::DraftingLineTarget * | ConvertToDraftingLineTarget () |
| Converts a drafting datum target point or area to a drafting datum target line. | |
| NXOpen::Annotations::DraftingPointTarget * | ConvertToDraftingPointTarget () |
| Converts a drafting datum target line or area to a drafting datum target point. | |
| NXOpen::Annotations::LineTarget * | ConvertToLineTarget () |
| Converts a datum target point or area to a datum target line. | |
| NXOpen::Annotations::PointTarget * | ConvertToPointTarget () |
| Converts a datum target line or area to a datum target point. | |
Public Member Functions inherited from NXOpen::Annotations::BaseDatumTarget | |
| virtual NXString | DatumLabel () |
| Returns the datum target label. | |
| virtual void | SetDatumLabel (const NXString &datumLabel) |
| Sets the datum target label. | |
| void | SetDatumLabel (const char *datumLabel) |
| Sets the datum target label. | |
| virtual void | SetTargetIndex (int index) |
| Sets the datum target index. | |
| virtual int | TargetIndex () |
| Returns the datum target index. | |
Public Member Functions inherited from NXOpen::Annotations::Gdt | |
| bool | CanChangeLeaderPositionParameter () |
| Returns a flag indicating whether the Annotations::Gdt::LeaderPositionParameter can be changed Created in NX3.0.0. | |
| virtual NXOpen::Annotations::FcfFrameData * | GetFcfFrameData () |
| Returns the single FCF frames data. | |
| virtual std::vector < NXOpen::Annotations::FcfFrameData * > | GetFcfFrameDataArray () |
| Returns the multiple FCF frames data. | |
| bool | HasLeaderPositionParameter () |
| Returns a flag indicating whether this GDT has a leader position parameter. | |
| bool | HasStubbedDatumStyle () |
| Returns a flag indicating whether the leader has a stubbed datum style. | |
| double | LeaderPositionParameter () |
| Returns a parameter which indicates where the leader end point is located on the object that it is attached to. | |
| virtual void | SetFcfFrameData (NXOpen::Annotations::FcfFrameData *data) |
| Sets the single FCF frames data. | |
| virtual void | SetFcfFrameData (const std::vector< NXOpen::Annotations::FcfFrameData * > &fcfFrameData) |
| Sets the multiple FCF frames data. | |
| void | SetHasStubbedDatumStyle (bool stubbed) |
| Sets a flag indicating whether the leader has a stubbed datum style. | |
| void | SetLeaderPositionParameter (double param) |
| Sets a parameter which indicates where the leader end point is located on the object that it is attached to. | |
| void | SetSymbolCfw (const NXOpen::Annotations::LineCfw &cfw) |
| Sets the symbol color, font, and width. | |
Public Member Functions inherited from NXOpen::Annotations::SimpleDraftingAid | |
| std::vector< NXString > | GetText () |
| Returns the drafting aid's text. | |
| NXOpen::Annotations::UserSymbolPreferences * | GetUserSymbolPreferences () |
| Returns the user symbol preferences. | |
| void | GetUserSymbolSize (NXOpen::Annotations::UserSymbolPreferences::SizeType *sizeType, double *lengthOrScale, double *heightOrAspectRatio) |
| Gets the user symbol size Created in NX3.0.0. | |
| void | SetText (std::vector< NXString > &lines) |
| Sets the drafting aid's text. | |
| void | SetUserSymbolPreferences (NXOpen::Annotations::UserSymbolPreferences *usymPrefs) |
| Sets the user symbol preferences. | |
| void | SetUserSymbolSize (NXOpen::Annotations::UserSymbolPreferences::SizeType sizeType, double lengthOrScale, double heightOrAspectRatio) |
| Sets the user symbol size. | |
Public Member Functions inherited from NXOpen::Annotations::IDatumTarget | |
| void | SetDatumLabel (const char *datumLabel) |
| Sets the datum target label. | |
Public Member Functions inherited from NXOpen::INXObject | |
| NXOpen::INXObject * | FindObject (const char *journalIdentifier) |
| Finds the NXObject with the given identifier as recorded in a journal. | |
| void | SetName (const char *name) |
| Sets the custom name of the object. | |
Public Member Functions inherited from NXOpen::Annotations::IArbitraryTarget | |
| void | SetUpperText (const char *upperText) |
| Sets the target upper text. | |
Additional Inherited Members | |
Public Types inherited from NXOpen::DisplayableObject | |
| enum | ObjectFont { ObjectFontSolid = 1, ObjectFontDashed, ObjectFontPhantom, ObjectFontCenterline, ObjectFontDotted, ObjectFontLongDashed, ObjectFontDottedDashed } |
| specifies the object font for objects such as lines Created in NX3.0.0. More... | |
| enum | ObjectWidth { ObjectWidthNormal, ObjectWidthThick, ObjectWidthThin, ObjectWidthOne = 5, ObjectWidthTwo, ObjectWidthThree, ObjectWidthFour, ObjectWidthFive, ObjectWidthSix, ObjectWidthSeven, ObjectWidthEight, ObjectWidthNine } |
| specifies object width for objects such as lines and text Created in NX3.0.0. More... | |
Represents a drafting arbitrary datum target.
To create or edit an instance of this class, use Annotations::DraftingDatumTargetBuilder
Created in NX4.0.0.
|
virtual |
Sets the target upper text.
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
Created in NX5.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
| upperText | Upper text |
Implements NXOpen::Annotations::IArbitraryTarget.
| void NXOpen::Annotations::DraftingArbitraryTarget::SetUpperText | ( | const char * | upperText | ) |
Sets the target upper text.
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
Created in NX5.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
| upperText | Upper text |
|
virtual |
Returns the target upper text.
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
If it is, the changes will be overridden when the part is updated.
Created in NX5.0.0.
License requirements : None
Implements NXOpen::Annotations::IArbitraryTarget.