NX Open C++ Reference Guide
|
Represents rectangular datum target data
Created in NX4.0.0.
More...
Public Member Functions | |
NXOpen::Annotations::Value | GetLength () |
Returns the length. | |
NXOpen::Annotations::Value | GetWidth () |
Returns the width. | |
void | SetLength (const NXOpen::Annotations::Value &length) |
Sets the length. | |
void | SetWidth (const NXOpen::Annotations::Value &width) |
Sets the width. | |
virtual | ~RectangularTargetData () |
Frees the object from memory. | |
![]() | |
NXString | DatumLabel () |
Returns the datum label. | |
NXOpen::Annotations::SimpleDraftingAidPreferences * | GetSimpleDraftingAidPreferences () |
Returns the SimpleDraftingAidPreferences object. | |
int | Index () |
Returns the target index. | |
void | SetDatumLabel (const NXString &datumLabel) |
Sets the datum label. | |
void | SetDatumLabel (const char *datumLabel) |
Sets the datum label. | |
void | SetIndex (int index) |
Sets the target index. | |
void | SetSimpleDraftingAidPreferences (NXOpen::Annotations::SimpleDraftingAidPreferences *preferences) |
Sets the SimpleDraftingAidPreferences object Created in NX4.0.0. | |
virtual | ~DatumTargetData () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents rectangular datum target data
Created in NX4.0.0.
|
virtual |
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.
Created in NX4.0.0.
License requirements : None
NXOpen::Annotations::Value NXOpen::Annotations::RectangularTargetData::GetLength | ( | ) |
Returns the length.
NXOpen::Annotations::Value NXOpen::Annotations::RectangularTargetData::GetWidth | ( | ) |
Returns the width.
void NXOpen::Annotations::RectangularTargetData::SetLength | ( | const NXOpen::Annotations::Value & | length | ) |
Sets the length.
NOTE: This 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
length | New length data |
void NXOpen::Annotations::RectangularTargetData::SetWidth | ( | const NXOpen::Annotations::Value & | width | ) |
Sets the width.
NOTE: This 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
width | New width data |