NX Open C++ Reference Guide
|
Represents custom symbol text data
More...
Public Member Functions | |
int | ControlTextIndex () |
Returns the control text index. | |
std::vector< NXString > | GetText () |
Returns the text. | |
int | IntegerValue () |
Returns the integer value. | |
double | RealValue () |
Returns the real value. | |
void | SetControlTextIndex (int index) |
Sets the control text index. | |
void | SetIntegerValue (int intValue) |
Sets the integer value. | |
void | SetRealValue (double realValue) |
Sets the real value. | |
void | SetText (std::vector< NXString > &lines) |
Sets the text. | |
NXString | StringValue () |
Returns the string value. | |
NXOpen::Annotations::TextType | TextType () |
Returns the text type | |
virtual | ~CustomSymbolTextData () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents custom symbol text data
Use Annotations::MasterSymbolListItemBuilder instead. Use Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.
Created in NX4.0.0.
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX4.0.0.
License requirements : None
int NXOpen::Annotations::CustomSymbolTextData::ControlTextIndex | ( | ) |
Returns the control text index.
Valid for the text type Annotations::TextTypeControlled .
Created in NX4.0.0.
License requirements : None
std::vector<NXString> NXOpen::Annotations::CustomSymbolTextData::GetText | ( | ) |
Returns the text.
Valid for the text type Annotations::TextTypeArbitrary and Annotations::TextTypePartiallyControlled .
Created in NX4.0.0.
License requirements : None
int NXOpen::Annotations::CustomSymbolTextData::IntegerValue | ( | ) |
Returns the integer value.
Valid for the text type Annotations::TextTypeInteger .
Created in NX4.0.0.
License requirements : None
double NXOpen::Annotations::CustomSymbolTextData::RealValue | ( | ) |
Returns the real value.
Valid for the text type Annotations::TextTypeReal .
Created in NX4.0.0.
License requirements : None
void NXOpen::Annotations::CustomSymbolTextData::SetControlTextIndex | ( | int | index | ) |
Sets the control text index.
Valid for the text type Annotations::TextTypeControlled .
Created in NX4.0.0.
License requirements : None
index | New control text index |
void NXOpen::Annotations::CustomSymbolTextData::SetIntegerValue | ( | int | intValue | ) |
Sets the integer value.
Valid for the text type Annotations::TextTypeInteger .
Created in NX4.0.0.
License requirements : None
intValue | New integer value |
void NXOpen::Annotations::CustomSymbolTextData::SetRealValue | ( | double | realValue | ) |
Sets the real value.
Valid for the text type Annotations::TextTypeReal .
Created in NX4.0.0.
License requirements : None
realValue | New real value |
void NXOpen::Annotations::CustomSymbolTextData::SetText | ( | std::vector< NXString > & | lines | ) |
Sets the text.
Valid for the text type Annotations::TextTypeArbitrary and Annotations::TextTypePartiallyControlled .
Created in NX4.0.0.
License requirements : None
lines | List of lines |
NXString NXOpen::Annotations::CustomSymbolTextData::StringValue | ( | ) |
Returns the string value.
Valid for the text type Annotations::TextTypeControlled and Annotations::TextTypePartiallyControlled .
Created in NX8.0.0.
License requirements : None
NXOpen::Annotations::TextType NXOpen::Annotations::CustomSymbolTextData::TextType | ( | ) |
Returns the text type
Use Annotations::MasterSymbolListItemBuilder instead. Use Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.
Created in NX4.0.0.
License requirements : None