NX Open C++ Reference Guide
|
Controls appearance of a annoation object in a postview. More...
Public Types | |
enum | Style { StyleBox, StyleBoxWithLeader } |
Annotation styles. More... | |
enum | TextAlignment { TextAlignmentLeft, TextAlignmentRight, TextAlignmentCenter } |
Annotation text alignment. More... | |
enum | ValueType { ValueTypeNone, ValueTypeResultAndEntity, ValueTypeResult, ValueTypeEntity } |
Annotation value type. More... | |
Public Member Functions | |
NXOpen::NXColor * | BoxColor () |
Returns the box color Created in NX8.5.0. | |
bool | BoxFill () |
Returns the box filling Created in NX8.5.0. | |
NXOpen::CAE::PostAnnotation::TextAlignment | BoxTextAlignment () |
Returns the text alignment Created in NX8.5.0. | |
bool | BoxTranluceny () |
Returns the box translucency Created in NX8.5.0. | |
NXOpen::CAE::PostAnnotation::Style | DisplayStyle () |
Returns the annotation style Created in NX8.5.0. | |
NXOpen::CAE::PostAnnotation::ValueType | DisplayValueType () |
Returns the annotation value type Created in NX8.5.0. | |
void | Draw () |
Draw annotation object on graphics screen. | |
bool | DrawBox () |
Returns the box drawing Created in NX8.5.0. | |
void | GetUserText (std::vector< NXString > &usertext) |
Ask the user text in each box Created in NX8.5.0. | |
NXString | Name () |
Returns the annotation name Created in NX8.5.0. | |
void | SetBoxColor (NXOpen::NXColor *boxColor) |
Sets the box color Created in NX8.5.0. | |
void | SetBoxFill (bool boxFill) |
Sets the box filling Created in NX8.5.0. | |
void | SetBoxTextAlignment (NXOpen::CAE::PostAnnotation::TextAlignment boxTextAlignment) |
Sets the text alignment Created in NX8.5.0. | |
void | SetBoxTranluceny (bool boxTranluceny) |
Sets the box translucency Created in NX8.5.0. | |
void | SetDisplayStyle (NXOpen::CAE::PostAnnotation::Style style) |
Sets the annotation style Created in NX8.5.0. | |
void | SetDisplayValueType (NXOpen::CAE::PostAnnotation::ValueType valueType) |
Sets the annotation value type Created in NX8.5.0. | |
void | SetDrawBox (bool drawBox) |
Sets the box drawing Created in NX8.5.0. | |
void | SetName (const NXString &name) |
Sets the annotation name Created in NX8.5.0. | |
void | SetName (const char *name) |
Sets the annotation name Created in NX8.5.0. | |
void | SetTextColor (NXOpen::NXColor *textColor) |
Sets the text color Created in NX8.5.0. | |
void | SetUserText (const std::vector< NXString > &usertext) |
Put the user text in each box Created in NX8.5.0. | |
void | Show (bool show) |
Show/Hide annotation object on graphics screen. | |
NXOpen::NXColor * | TextColor () |
Returns the text color Created in NX8.5.0. | |
virtual | ~PostAnnotation () |
Destroys the object Created in NX8.5.0. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Controls appearance of a annoation object in a postview.
User must call CAE::PostAnnotation::Draw to make changes visible.
To obtain an instance of this class use CAE::Post
Created in NX8.5.0.
|
virtual |
Destroys the object
Created in NX8.5.0.
License requirements : None
NXOpen::NXColor* NXOpen::CAE::PostAnnotation::BoxColor | ( | ) |
Returns the box color
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
bool NXOpen::CAE::PostAnnotation::BoxFill | ( | ) |
Returns the box filling
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
NXOpen::CAE::PostAnnotation::TextAlignment NXOpen::CAE::PostAnnotation::BoxTextAlignment | ( | ) |
Returns the text alignment
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
bool NXOpen::CAE::PostAnnotation::BoxTranluceny | ( | ) |
Returns the box translucency
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
NXOpen::CAE::PostAnnotation::Style NXOpen::CAE::PostAnnotation::DisplayStyle | ( | ) |
Returns the annotation style
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
NXOpen::CAE::PostAnnotation::ValueType NXOpen::CAE::PostAnnotation::DisplayValueType | ( | ) |
Returns the annotation value type
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::PostAnnotation::Draw | ( | ) |
Draw annotation object on graphics screen.
If NX is in batch mode, nothing happens. After setting paramters user has to call draw to reflect changes.
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
bool NXOpen::CAE::PostAnnotation::DrawBox | ( | ) |
Returns the box drawing
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::PostAnnotation::GetUserText | ( | std::vector< NXString > & | usertext | ) |
Ask the user text in each box
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
usertext | usertext |
NXString NXOpen::CAE::PostAnnotation::Name | ( | ) |
Returns the annotation name
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::PostAnnotation::SetBoxColor | ( | NXOpen::NXColor * | boxColor | ) |
Sets the box color
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
boxColor | box color |
void NXOpen::CAE::PostAnnotation::SetBoxFill | ( | bool | boxFill | ) |
Sets the box filling
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
boxFill | box fill |
void NXOpen::CAE::PostAnnotation::SetBoxTextAlignment | ( | NXOpen::CAE::PostAnnotation::TextAlignment | boxTextAlignment | ) |
Sets the text alignment
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
boxTextAlignment | box text alignment |
void NXOpen::CAE::PostAnnotation::SetBoxTranluceny | ( | bool | boxTranluceny | ) |
Sets the box translucency
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
boxTranluceny | box tranluceny |
void NXOpen::CAE::PostAnnotation::SetDisplayStyle | ( | NXOpen::CAE::PostAnnotation::Style | style | ) |
Sets the annotation style
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
style | style |
void NXOpen::CAE::PostAnnotation::SetDisplayValueType | ( | NXOpen::CAE::PostAnnotation::ValueType | valueType | ) |
Sets the annotation value type
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
valueType | value type |
void NXOpen::CAE::PostAnnotation::SetDrawBox | ( | bool | drawBox | ) |
Sets the box drawing
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
drawBox | draw box |
void NXOpen::CAE::PostAnnotation::SetName | ( | const NXString & | name | ) |
Sets the annotation name
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
name | name |
void NXOpen::CAE::PostAnnotation::SetName | ( | const char * | name | ) |
Sets the annotation name
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
name | name |
void NXOpen::CAE::PostAnnotation::SetTextColor | ( | NXOpen::NXColor * | textColor | ) |
Sets the text color
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
textColor | text color |
void NXOpen::CAE::PostAnnotation::SetUserText | ( | const std::vector< NXString > & | usertext | ) |
Put the user text in each box
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
usertext | usertext |
void NXOpen::CAE::PostAnnotation::Show | ( | bool | show | ) |
Show/Hide annotation object on graphics screen.
If NX is in batch mode, nothing happens
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
show | true will show annotation, false will hide |
NXOpen::NXColor* NXOpen::CAE::PostAnnotation::TextColor | ( | ) |
Returns the text color
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")