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

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

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

Public Member Functions

NXOpen::Annotations::Value GetLength ()
 Returns the length. More...
 
NXOpen::Annotations::Value GetWidth ()
 Returns the width. More...
 
void SetLength (const NXOpen::Annotations::Value &length)
 Sets the length. More...
 
void SetWidth (const NXOpen::Annotations::Value &width)
 Sets the width. More...
 
virtual ~RectangularTargetData ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::Annotations::DatumTargetData
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 rectangular datum target data
Created in NX4.0.0.


Constructor & Destructor Documentation

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

NXOpen::Annotations::Value NXOpen::Annotations::RectangularTargetData::GetLength ( )

Returns the length.

Returns
Length data
Created in NX4.0.0.

License requirements : None
NXOpen::Annotations::Value NXOpen::Annotations::RectangularTargetData::GetWidth ( )

Returns the width.

Returns
Width data
Created in NX4.0.0.

License requirements : None
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

Parameters
lengthNew 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

Parameters
widthNew width data

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