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

Represents a datum
This is an abstract class, and cannot be created. More...

Inheritance diagram for NXOpen::Annotations::BaseDatum:
NXOpen::Annotations::Gdt NXOpen::Annotations::IDatum NXOpen::Annotations::SimpleDraftingAid NXOpen::Annotations::IFcf NXOpen::INXObject NXOpen::Annotations::DraftingAid NXOpen::INXObject NXOpen::Annotations::Annotation NXOpen::DisplayableObject NXOpen::NXObject NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject NXOpen::Annotations::DraftingDatum NXOpen::Annotations::Datum

Public Member Functions

virtual NXString Label ()
 Returns the label. More...
 
virtual void SetLabel (const NXString &label)
 Sets the label. More...
 
virtual void SetLabel (const char *label)
 Sets the label. More...
 
- Public Member Functions inherited from NXOpen::Annotations::Gdt
bool CanChangeLeaderPositionParameter ()
 Returns a flag indicating whether the NXOpen::Annotations::Gdt::LeaderPositionParameter can be changed
Created in NX3.0.0. More...
 
virtual
NXOpen::Annotations::FcfFrameData
GetFcfFrameData ()
 Returns the single FCF frames data This is only designed to work with old feature control frames without builders. More...
 
virtual std::vector
< NXOpen::Annotations::FcfFrameData * > 
GetFcfFrameDataArray ()
 Returns the multiple FCF frames data This is only designed to work with old feature control frames without builders. More...
 
bool HasLeaderPositionParameter ()
 Returns a flag indicating whether this GDT has a leader position parameter. More...
 
bool HasStubbedDatumStyle ()
 Returns a flag indicating whether the leader has a stubbed datum style. More...
 
double LeaderPositionParameter ()
 Returns a parameter which indicates where the leader end point is located on the object that it is attached to. More...
 
virtual void SetFcfFrameData (NXOpen::Annotations::FcfFrameData *data)
 Sets the single FCF frames data. More...
 
virtual void SetFcfFrameData (const std::vector< NXOpen::Annotations::FcfFrameData * > &fcfFrameData)
 Sets the multiple FCF frames data. More...
 
void SetHasStubbedDatumStyle (bool stubbed)
 Sets a flag indicating whether the leader has a stubbed datum style. More...
 
void SetLeaderPositionParameter (double param)
 Sets a parameter which indicates where the leader end point is located on the object that it is attached to. More...
 
void SetSymbolCfw (const NXOpen::Annotations::LineCfw &cfw)
 Sets the symbol color, font, and width. More...
 
- Public Member Functions inherited from NXOpen::Annotations::SimpleDraftingAid
std::vector< NXStringGetText ()
 Returns the drafting aid's text. More...
 
NXOpen::Annotations::UserSymbolPreferencesGetUserSymbolPreferences ()
 Returns the user symbol preferences. More...
 
void GetUserSymbolSize (NXOpen::Annotations::UserSymbolPreferences::SizeType *sizeType, double *lengthOrScale, double *heightOrAspectRatio)
 Gets the user symbol size
Created in NX3.0.0. More...
 
void SetText (std::vector< NXString > &lines)
 Sets the drafting aid's text. More...
 
void SetUserSymbolPreferences (NXOpen::Annotations::UserSymbolPreferences *usymPrefs)
 Sets the user symbol preferences. More...
 
void SetUserSymbolSize (NXOpen::Annotations::UserSymbolPreferences::SizeType sizeType, double lengthOrScale, double heightOrAspectRatio)
 Sets the user symbol size. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen::DisplayableObject
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...
 

Detailed Description

Represents a datum
This is an abstract class, and cannot be created.



Created in NX7.5.0.

Member Function Documentation

virtual NXString NXOpen::Annotations::BaseDatum::Label ( )
virtual

Returns the label.

NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Created in NX4.0.0.

License requirements : None

Implements NXOpen::Annotations::IDatum.

virtual void NXOpen::Annotations::BaseDatum::SetLabel ( const NXString label)
virtual

Sets the label.

NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Created in NX4.0.0.

License requirements : geometric_tol ("GDT")

Parameters
labelNew datum label

Implements NXOpen::Annotations::IDatum.

virtual void NXOpen::Annotations::BaseDatum::SetLabel ( const char *  label)
virtual

Sets the label.

NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Created in NX4.0.0.

License requirements : geometric_tol ("GDT")

Parameters
labelNew datum label

Implements NXOpen::Annotations::IDatum.


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