NX Open C++ Reference Guide
|
Represents a custom symbol
To create or edit an instance of this class, use Annotations::DraftingCustomSymbolBuilder
Created in NX4.0.0.
More...
Additional Inherited Members | |
![]() | |
enum | ObjectFont { ObjectFontSolid = 1, ObjectFontDashed, ObjectFontPhantom, ObjectFontCenterline, ObjectFontDotted, ObjectFontLongDashed, ObjectFontDottedDashed } |
specifies the object font for objects such as lines Created in NX3.0.0. More... | |
enum | ObjectWidth { ObjectWidthNormal, ObjectWidthThick, ObjectWidthThin, ObjectWidthOne = 5, ObjectWidthTwo, ObjectWidthThree, ObjectWidthFour, ObjectWidthFive, ObjectWidthSix, ObjectWidthSeven, ObjectWidthEight, ObjectWidthNine } |
specifies object width for objects such as lines and text Created in NX3.0.0. More... | |
![]() | |
void | AddLeader (NXOpen::Annotations::LeaderBundle *leader) |
Adds leaders to the custom symbol. | |
void | FlipSymbol (NXOpen::Annotations::FlipOption flipOption) |
Flips the custom symbol horizontally/vertically. | |
NXOpen::Point * | GetAnchor () |
Returns the master custom symbol anchor point. | |
virtual NXOpen::Annotations::AssociatedObject * | GetAssociatedObject () |
Returns the associated object. | |
virtual std::vector < NXOpen::Annotations::BusinessModifier * > | GetBusinessModifiers () |
Returns the business modifiers. | |
virtual NXOpen::Annotations::AssociatedObject * | GetSharedAssociatedObject () |
Returns the shared associated objects. | |
NXOpen::Annotations::CustomSymbolData * | GetSymbolData () |
Returns the custom symbol data. | |
virtual int | Index () |
Returns the index. | |
virtual bool | IsMirrored () |
Returns a flag indicating whether the annotation is mirrored Created in NX8.5.0. | |
void | RemoveLeader (int nthLeader) |
Removes leader from the custom symbol. | |
void | ReplaceSymbol (const NXString &name, const NXString &path, bool isPartSymbol) |
Replace custom symbol with the given master symbol name and path. | |
void | ReplaceSymbol (const char *name, const char *path, bool isPartSymbol) |
Replace custom symbol with the given master symbol name and path. | |
void | SetAnchor (NXOpen::Point *anchorPoint) |
Sets the master custom symbol anchor point. | |
virtual void | SetAssociatedObject (NXOpen::Annotations::AssociatedObject *assocObj) |
Sets the associated object. | |
virtual void | SetBusinessModifiers (const std::vector< NXOpen::Annotations::BusinessModifier * > &businessModifiers) |
Sets the business modifiers. | |
virtual void | SetIndex (int index) |
Sets the index. | |
void | SetSymbolData (NXOpen::Annotations::CustomSymbolData *data) |
Sets the custom symbol data. | |
NXString | SymbolName () |
Returns the symbol name. | |
void | SynchronizeSymbol () |
Synchronize associative custom symbol. | |
void | UpdateFromRule () |
Updates the specified symbol from the KF rule. | |
void | UpdateSymbolGeometry (const NXOpen::Point3d &origin, double scale, double angle) |
Sets the origin, scale and angle for a custom symbol instance and updates the leaders (if any) as needed. | |
Represents a custom symbol
To create or edit an instance of this class, use Annotations::DraftingCustomSymbolBuilder
Created in NX4.0.0.