NX Open C++ Reference Guide
|
Represents a @link Note Note@endlink builder <br> To create a new instance of this class, use @link Annotations::AnnotationManager::CreateDraftingNoteBuilder Annotations::AnnotationManager::CreateDraftingNoteBuilder @endlink <br>
Default values. More...
Public Types | |
enum | TextAlign { TextAlignTop, TextAlignMiddle, TextAlignBottom, TextAlignBelowbottomExtToMax, TextAlignBelowbottomExtToMaxUnderline, TextAlignBelowbottom, TextAlignBelowbottomUnderline, TextAlignBelowTopExtToMax, TextAlignBelowTopExtToMaxUnderline, TextAlignBelowTop, TextAlignBelowTopUnderline } |
text over leader types for text More... | |
enum | ThicknessTypes { ThicknessTypesMedium, ThicknessTypesThick } |
thickness types for text More... | |
Public Member Functions | |
NXOpen::SelectDisplayableObject * | Inherit () |
Returns the note from which the properties are inherited Created in NX7.5.2. | |
void | InheritProperties (NXOpen::Annotations::SimpleDraftingAid *annotation, int recordNumber) |
Inheriting properties from the note Created in NX7.5.2. | |
NXOpen::Annotations::LeaderBuilder * | Leader () |
Returns the Annotations::LeaderBuilder for the annotation Created in NX6.0.0. | |
NXOpen::Annotations::OriginBuilder * | Origin () |
Returns the origin Created in NX6.0.0. | |
void | SetTextAlignment (NXOpen::Annotations::DraftingNoteBuilder::TextAlign textAlignment) |
Sets the text alignment Created in NX6.0.0. | |
void | SetVerticalText (bool verticalText) |
Sets the vertical text for text Created in NX6.0.0. | |
NXOpen::Annotations::StyleBuilder * | Style () |
Returns the style builder Created in NX6.0.0. | |
NXOpen::Annotations::TextWithEditControlsBuilder * | Text () |
Returns the text Created in NX6.0.0. | |
NXOpen::Annotations::DraftingNoteBuilder::TextAlign | TextAlignment () |
Returns the text alignment Created in NX6.0.0. | |
bool | VerticalText () |
Returns the vertical text for text Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a @link Note Note@endlink builder <br> To create a new instance of this class, use @link Annotations::AnnotationManager::CreateDraftingNoteBuilder Annotations::AnnotationManager::CreateDraftingNoteBuilder @endlink <br>
Default values.
Property | Value |
---|---|
Text.TextBlock.CustomSymbolScale |
1.0 |
Text.TextBlock.SymbolAspectRatio |
1.0 |
Text.TextBlock.SymbolHeight |
25.4 (millimeters part), 1.0 (inches part) |
Text.TextBlock.SymbolLength |
25.4 (millimeters part), 1.0 (inches part) |
Text.TextBlock.SymbolPreferences |
UseCurrent |
Text.TextBlock.SymbolScale |
1.0 |
Text.TextBlock.SymbolSizeMethod |
ScaleAndAspectRatio |
Created in NX6.0.0.
text over leader types for text
NXOpen::SelectDisplayableObject* NXOpen::Annotations::DraftingNoteBuilder::Inherit | ( | ) |
Returns the note from which the properties are inherited
Created in NX7.5.2.
License requirements : None
void NXOpen::Annotations::DraftingNoteBuilder::InheritProperties | ( | NXOpen::Annotations::SimpleDraftingAid * | annotation, |
int | recordNumber | ||
) |
Inheriting properties from the note
Created in NX7.5.2.
License requirements : None
annotation | annotation |
recordNumber | recordnumber |
NXOpen::Annotations::LeaderBuilder* NXOpen::Annotations::DraftingNoteBuilder::Leader | ( | ) |
Returns the Annotations::LeaderBuilder for the annotation
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::OriginBuilder* NXOpen::Annotations::DraftingNoteBuilder::Origin | ( | ) |
Returns the origin
Created in NX6.0.0.
License requirements : None
void NXOpen::Annotations::DraftingNoteBuilder::SetTextAlignment | ( | NXOpen::Annotations::DraftingNoteBuilder::TextAlign | textAlignment | ) |
Sets the text alignment
Created in NX6.0.0.
License requirements : drafting ("DRAFTING") OR geometric_tol ("GDT") OR cam_base ("CAM BASE")
textAlignment | textalignment |
void NXOpen::Annotations::DraftingNoteBuilder::SetVerticalText | ( | bool | verticalText | ) |
Sets the vertical text for text
Created in NX6.0.0.
License requirements : drafting ("DRAFTING") OR geometric_tol ("GDT") OR cam_base ("CAM BASE")
verticalText | verticaltext |
NXOpen::Annotations::StyleBuilder* NXOpen::Annotations::DraftingNoteBuilder::Style | ( | ) |
Returns the style builder
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::TextWithEditControlsBuilder* NXOpen::Annotations::DraftingNoteBuilder::Text | ( | ) |
Returns the text
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::DraftingNoteBuilder::TextAlign NXOpen::Annotations::DraftingNoteBuilder::TextAlignment | ( | ) |
Returns the text alignment
Created in NX6.0.0.
License requirements : drafting ("DRAFTING") OR cam_base ("CAM BASE")
bool NXOpen::Annotations::DraftingNoteBuilder::VerticalText | ( | ) |
Returns the vertical text for text
Created in NX6.0.0.
License requirements : None