NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Annotations::CustomSymbolTextData Class Reference

Represents custom symbol text data
More...

Inheritance diagram for NXOpen::Annotations::CustomSymbolTextData:
NXOpen::TransientObject

Public Member Functions

int ControlTextIndex ()
 Returns the control text index. More...
 
std::vector< NXStringGetText ()
 Returns the text. More...
 
int IntegerValue ()
 Returns the integer value. More...
 
double RealValue ()
 Returns the real value. More...
 
void SetControlTextIndex (int index)
 Sets the control text index. More...
 
void SetIntegerValue (int intValue)
 Sets the integer value. More...
 
void SetRealValue (double realValue)
 Sets the real value. More...
 
void SetText (std::vector< NXString > &lines)
 Sets the text. More...
 
NXString StringValue ()
 Returns the string value. More...
 
NXOpen::Annotations::TextType TextType ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents custom symbol text data

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

Member Function Documentation

int NXOpen::Annotations::CustomSymbolTextData::ControlTextIndex ( )

Returns the control text index.

Valid for the text type NXOpen::Annotations::TextTypeControlled .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

std::vector<NXString> NXOpen::Annotations::CustomSymbolTextData::GetText ( )

Returns the text.

Valid for the text type NXOpen::Annotations::TextTypeArbitrary and NXOpen::Annotations::TextTypePartiallyControlled .

Returns
List of lines
Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

int NXOpen::Annotations::CustomSymbolTextData::IntegerValue ( )

Returns the integer value.

Valid for the text type NXOpen::Annotations::TextTypeInteger .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

double NXOpen::Annotations::CustomSymbolTextData::RealValue ( )

Returns the real value.

Valid for the text type NXOpen::Annotations::TextTypeReal .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


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 NXOpen::Annotations::TextTypeControlled .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

Parameters
indexNew control text index
void NXOpen::Annotations::CustomSymbolTextData::SetIntegerValue ( int  intValue)

Sets the integer value.

Valid for the text type NXOpen::Annotations::TextTypeInteger .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

Parameters
intValueNew integer value
void NXOpen::Annotations::CustomSymbolTextData::SetRealValue ( double  realValue)

Sets the real value.

Valid for the text type NXOpen::Annotations::TextTypeReal .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

Parameters
realValueNew real value
void NXOpen::Annotations::CustomSymbolTextData::SetText ( std::vector< NXString > &  lines)

Sets the text.

Valid for the text type NXOpen::Annotations::TextTypeArbitrary and NXOpen::Annotations::TextTypePartiallyControlled .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None

Parameters
linesList of lines
NXString NXOpen::Annotations::CustomSymbolTextData::StringValue ( )

Returns the string value.

Valid for the text type NXOpen::Annotations::TextTypeControlled and NXOpen::Annotations::TextTypePartiallyControlled .

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX8.0.0.

License requirements : None

NXOpen::Annotations::TextType NXOpen::Annotations::CustomSymbolTextData::TextType ( )

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.

Deprecated:
Deprecated in NX9.0.0. Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None Returns the text type

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Annotations::MasterSymbolListItemBuilder instead. Use NXOpen::Annotations::BaseCustomSymbolBuilder::Texts to query list of custom symbol texts.


Created in NX4.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.