NX Open C++ Reference Guide
|
Represents custom symbol data
More...
Public Member Functions | |
double | Angle () |
Returns the angle | |
std::vector < NXOpen::Annotations::CustomSymbolTextData * > | GetTextData () |
Return the text data. | |
double | Scale () |
Returns the scale | |
NXOpen::Expression * | ScaleExpression () |
Returns the scale expression | |
void | SetAngle (double angle) |
Sets the angle | |
void | SetScale (double scale) |
Sets the scale | |
void | SetScaleExpression (NXOpen::Expression *scaleExpression) |
Sets the scale expression | |
void | SetSymbolPreferencesOption (NXOpen::Annotations::SymbolPreferencesOption option) |
Sets the symbol preferences option. | |
void | SetTextData (const std::vector< NXOpen::Annotations::CustomSymbolTextData * > &data) |
Sets the text data | |
void | SetTextPreferencesOption (NXOpen::Annotations::TextPreferencesOption option) |
Sets the text preferences option. | |
NXOpen::Annotations::SymbolPreferencesOption | SymbolPreferencesOption () |
Returns the symbol preferences option. | |
NXOpen::Annotations::TextPreferencesOption | TextPreferencesOption () |
Returns the text preferences option. | |
virtual | ~CustomSymbolData () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents custom symbol data
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
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
double NXOpen::Annotations::CustomSymbolData::Angle | ( | ) |
Returns the angle
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
std::vector<NXOpen::Annotations::CustomSymbolTextData *> NXOpen::Annotations::CustomSymbolData::GetTextData | ( | ) |
Return the text data.
Created in NX4.0.0.
License requirements : None
double NXOpen::Annotations::CustomSymbolData::Scale | ( | ) |
Returns the scale
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Annotations::CustomSymbolData::ScaleExpression | ( | ) |
Returns the scale expression
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
void NXOpen::Annotations::CustomSymbolData::SetAngle | ( | double | angle | ) |
Sets the angle
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
angle | New angle at which custom symbol will be oriented |
void NXOpen::Annotations::CustomSymbolData::SetScale | ( | double | scale | ) |
Sets the scale
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
scale | New scale |
void NXOpen::Annotations::CustomSymbolData::SetScaleExpression | ( | NXOpen::Expression * | scaleExpression | ) |
Sets the scale expression
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
scaleExpression | New scale expression |
void NXOpen::Annotations::CustomSymbolData::SetSymbolPreferencesOption | ( | NXOpen::Annotations::SymbolPreferencesOption | option | ) |
Sets the symbol preferences option.
This option is only available when creating.
Created in NX4.0.0.
License requirements : None
option | New symbol preferences option |
void NXOpen::Annotations::CustomSymbolData::SetTextData | ( | const std::vector< NXOpen::Annotations::CustomSymbolTextData * > & | data | ) |
Sets the text data
Use Annotations::DraftingCustomSymbolBuilder for Drafting Custom Symbol and Annotations::PmiCustomSymbolBuilder for PMI Custom Symbol objects.
Created in NX4.0.0.
License requirements : None
data | List of text data objects |
void NXOpen::Annotations::CustomSymbolData::SetTextPreferencesOption | ( | NXOpen::Annotations::TextPreferencesOption | option | ) |
Sets the text preferences option.
This option is only available when creating.
Created in NX4.0.0.
License requirements : None
option | New text preferences option |
NXOpen::Annotations::SymbolPreferencesOption NXOpen::Annotations::CustomSymbolData::SymbolPreferencesOption | ( | ) |
Returns the symbol preferences option.
This option is only available when creating.
Created in NX4.0.0.
License requirements : None
NXOpen::Annotations::TextPreferencesOption NXOpen::Annotations::CustomSymbolData::TextPreferencesOption | ( | ) |
Returns the text preferences option.
This option is only available when creating.
Created in NX4.0.0.
License requirements : None