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

Represents datum target data
Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Annotations::DatumTargetData:
NXOpen::TransientObject NXOpen::Annotations::ArbitraryTargetData NXOpen::Annotations::CircularTargetData NXOpen::Annotations::RectangularTargetData

Public Member Functions

NXString DatumLabel ()
 Returns the datum label. More...
 
NXOpen::Annotations::SimpleDraftingAidPreferencesGetSimpleDraftingAidPreferences ()
 Returns the SimpleDraftingAidPreferences object. More...
 
int Index ()
 Returns the target index. More...
 
void SetDatumLabel (const NXString &datumLabel)
 Sets the datum label. More...
 
void SetDatumLabel (const char *datumLabel)
 Sets the datum label. More...
 
void SetIndex (int index)
 Sets the target index. More...
 
void SetSimpleDraftingAidPreferences (NXOpen::Annotations::SimpleDraftingAidPreferences *preferences)
 Sets the SimpleDraftingAidPreferences object
Created in NX4.0.0. More...
 
virtual ~DatumTargetData ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents datum target data
Created in NX4.0.0.


Constructor & Destructor Documentation

virtual NXOpen::Annotations::DatumTargetData::~DatumTargetData ( )
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

Member Function Documentation

NXString NXOpen::Annotations::DatumTargetData::DatumLabel ( )

Returns the datum 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

NXOpen::Annotations::SimpleDraftingAidPreferences* NXOpen::Annotations::DatumTargetData::GetSimpleDraftingAidPreferences ( )

Returns the SimpleDraftingAidPreferences object.

Returns
Datum target preferences
Created in NX4.0.0.

License requirements : None
int NXOpen::Annotations::DatumTargetData::Index ( )

Returns the target index.

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

void NXOpen::Annotations::DatumTargetData::SetDatumLabel ( const NXString datumLabel)

Sets the datum 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

Parameters
datumLabelNew datum label
void NXOpen::Annotations::DatumTargetData::SetDatumLabel ( const char *  datumLabel)

Sets the datum 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

Parameters
datumLabelNew datum label
void NXOpen::Annotations::DatumTargetData::SetIndex ( int  index)

Sets the target index.

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

Parameters
indexNew target index
void NXOpen::Annotations::DatumTargetData::SetSimpleDraftingAidPreferences ( NXOpen::Annotations::SimpleDraftingAidPreferences preferences)

Sets the SimpleDraftingAidPreferences object
Created in NX4.0.0.



License requirements : None

Parameters
preferencesNew datum target preferences

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