NX Open C++ Reference Guide
|
Represents a Geometric Dimensioning and Tolerancing symbol
This is an abstract class, and cannot be instantiated
Created in NX3.0.0.
More...
Public Member Functions | |
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. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
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 Geometric Dimensioning and Tolerancing symbol
This is an abstract class, and cannot be instantiated
Created in NX3.0.0.
bool NXOpen::Annotations::Gdt::CanChangeLeaderPositionParameter | ( | ) |
Returns a flag indicating whether the Annotations::Gdt::LeaderPositionParameter can be changed
Created in NX3.0.0.
License requirements : None
|
virtual |
Returns the single FCF frames data.
Implements NXOpen::Annotations::IFcf.
|
virtual |
Returns the multiple FCF frames data.
Implements NXOpen::Annotations::IFcf.
bool NXOpen::Annotations::Gdt::HasLeaderPositionParameter | ( | ) |
Returns a flag indicating whether this GDT has a leader position parameter.
GDTs with the following leader types do not have a leader position parameter: plain, around, plain-aligned, around-aligned
Created in NX3.0.0.
License requirements : None
bool NXOpen::Annotations::Gdt::HasStubbedDatumStyle | ( | ) |
Returns a flag indicating whether the leader has a stubbed datum style.
This property is not applicable to GDTs with the following leader types: plain, around, plain-aligned, around-aligned, and on-dimension. Do not attempt to set this property for these leader types.
Created in NX3.0.0.
License requirements : None
double NXOpen::Annotations::Gdt::LeaderPositionParameter | ( | ) |
Returns a parameter which indicates where the leader end point is located on the object that it is attached to.
0.0 indicates the start of the object that it is attached to and 1.0 indicates the end of the object. This property is not applicable to GDTs with the following leader types: plain, around, plain-aligned, around-aligned. You should not attempt to read this parameter unless Annotations::Gdt::HasLeaderPositionParameter is true. You should not attempt to change this parameter unless Annotations::Gdt::CanChangeLeaderPositionParameter returns true. This parameter cannot not set for GDTs with the following leader types: plain, around, plain-aligned, around-aligned, on-annotation, and on-stub.
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 NX3.0.0.
License requirements : None
|
virtual |
Sets the single FCF frames data.
NOTE: This 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 NX4.0.0.
License requirements : geometric_tol ("GDT")
data | FCF frame data |
Implements NXOpen::Annotations::IFcf.
|
virtual |
Sets the multiple FCF frames data.
NOTE: This 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")
fcfFrameData | FCF frame datas |
Implements NXOpen::Annotations::IFcf.
void NXOpen::Annotations::Gdt::SetHasStubbedDatumStyle | ( | bool | stubbed | ) |
Sets a flag indicating whether the leader has a stubbed datum style.
This property is not applicable to GDTs with the following leader types: plain, around, plain-aligned, around-aligned, and on-dimension. Do not attempt to set this property for these leader types.
Created in NX3.0.0.
License requirements : drafting ("DRAFTING")
stubbed | stubbed |
void NXOpen::Annotations::Gdt::SetLeaderPositionParameter | ( | double | param | ) |
Sets a parameter which indicates where the leader end point is located on the object that it is attached to.
0.0 indicates the start of the object that it is attached to and 1.0 indicates the end of the object. This property is not applicable to GDTs with the following leader types: plain, around, plain-aligned, around-aligned. You should not attempt to read this parameter unless Annotations::Gdt::HasLeaderPositionParameter is true. You should not attempt to change this parameter unless Annotations::Gdt::CanChangeLeaderPositionParameter returns true. This parameter cannot not set for GDTs with the following leader types: plain, around, plain-aligned, around-aligned, on-annotation, and on-stub.
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 NX3.0.0.
License requirements : drafting ("DRAFTING")
param | param |
void NXOpen::Annotations::Gdt::SetSymbolCfw | ( | const NXOpen::Annotations::LineCfw & | cfw | ) |
Sets the symbol color, font, and width.
The changes are not applied to the system until an update is performed. An update can be performed by calling @link Update::DoUpdate Update::DoUpdate@endlink . NOTE: This 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 NX3.0.0.
License requirements : drafting ("DRAFTING")
cfw | cfw |