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

Represents a rectangular datum target
To create or edit an instance of this class, use NXOpen::Annotations::PmiDatumTargetBuilder

Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Annotations::RectangularTarget:
NXOpen::Annotations::AreaTarget NXOpen::Annotations::IRectangularTarget NXOpen::Annotations::DatumTarget NXOpen::INXObject NXOpen::Annotations::DraftingDatumTarget NXOpen::Annotations::IPmi NXOpen::Annotations::BaseDatumTarget NXOpen::INXObject NXOpen::Annotations::Gdt NXOpen::Annotations::IDatumTarget 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

Public Member Functions

virtual NXOpen::Annotations::Value GetLength ()
 Returns the target length. More...
 
virtual NXOpen::Annotations::Value GetWidth ()
 Returns the target width. More...
 
virtual void SetLength (const NXOpen::Annotations::Value &length)
 Sets the target length. More...
 
virtual void SetWidth (const NXOpen::Annotations::Value &width)
 Sets the target width. 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 rectangular datum target
To create or edit an instance of this class, use NXOpen::Annotations::PmiDatumTargetBuilder

Created in NX4.0.0.


Member Function Documentation

virtual NXOpen::Annotations::Value NXOpen::Annotations::RectangularTarget::GetLength ( )
virtual

Returns the target length.

Returns
Length data
Created in NX4.0.0.

License requirements : None

Implements NXOpen::Annotations::IRectangularTarget.

virtual NXOpen::Annotations::Value NXOpen::Annotations::RectangularTarget::GetWidth ( )
virtual

Returns the target width.

Returns
Width data
Created in NX4.0.0.

License requirements : None

Implements NXOpen::Annotations::IRectangularTarget.

virtual void NXOpen::Annotations::RectangularTarget::SetLength ( const NXOpen::Annotations::Value length)
virtual

Sets the target 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 : geometric_tol ("GDT")

Parameters
lengthNew length data

Implements NXOpen::Annotations::IRectangularTarget.

virtual void NXOpen::Annotations::RectangularTarget::SetWidth ( const NXOpen::Annotations::Value width)
virtual

Sets the target 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 : geometric_tol ("GDT")

Parameters
widthNew width data

Implements NXOpen::Annotations::IRectangularTarget.


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