NX Open C++ Reference Guide
|
Represents a simple drafting aid. More...
Public Member Functions | |
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 Created in NX3.0.0. | |
void | SetUserSymbolPreferences (NXOpen::Annotations::UserSymbolPreferences *usymPrefs) |
Sets the user symbol preferences Created in NX3.0.0. | |
void | SetUserSymbolSize (NXOpen::Annotations::UserSymbolPreferences::SizeType sizeType, double lengthOrScale, double heightOrAspectRatio) |
Sets the user symbol size Created in NX3.0.0. |
Represents a simple drafting aid.
In all edit methods, the changes are not applied to the system until an update is performed. An update can be performed by calling Update::DoUpdate .
This is an abstract class.
Created in NX3.0.0.
std::vector<NXString> NXOpen::Annotations::SimpleDraftingAid::GetText | ( | ) |
Returns the drafting aid's text.
NXOpen::Annotations::UserSymbolPreferences* NXOpen::Annotations::SimpleDraftingAid::GetUserSymbolPreferences | ( | ) |
Returns the user symbol preferences.
void NXOpen::Annotations::SimpleDraftingAid::GetUserSymbolSize | ( | NXOpen::Annotations::UserSymbolPreferences::SizeType * | sizeType, |
double * | lengthOrScale, | ||
double * | heightOrAspectRatio | ||
) |
Gets the user symbol size
Created in NX3.0.0.
License requirements : None
sizeType | Whether the length and height or scale and aspect ratio is used |
lengthOrScale | length or scale |
heightOrAspectRatio | height or aspect ratio |
void NXOpen::Annotations::SimpleDraftingAid::SetText | ( | std::vector< NXString > & | lines | ) |
Sets the drafting aid's text
Created in NX3.0.0.
License requirements : drafting ("DRAFTING")
lines | the new text |
void NXOpen::Annotations::SimpleDraftingAid::SetUserSymbolPreferences | ( | NXOpen::Annotations::UserSymbolPreferences * | usymPrefs | ) |
Sets the user symbol preferences
Created in NX3.0.0.
License requirements : drafting ("DRAFTING")
usymPrefs | usym prefs |
void NXOpen::Annotations::SimpleDraftingAid::SetUserSymbolSize | ( | NXOpen::Annotations::UserSymbolPreferences::SizeType | sizeType, |
double | lengthOrScale, | ||
double | heightOrAspectRatio | ||
) |
Sets the user symbol size
Created in NX3.0.0.
License requirements : drafting ("DRAFTING")
sizeType | Whether to use length and height or scale and aspect ratio |
lengthOrScale | length or scale |
heightOrAspectRatio | height or aspect ratio |