NXOpen .NET Reference  12.0.0
Public Member Functions | List of all members
NXOpen.Annotations.RectangularTarget Class Reference

Represents a rectangular datum target 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.INXObject NXOpen.INXObject

Public Member Functions

unsafe NXOpen.Annotations.Value GetLength ()
 Returns the target length More...
 
unsafe void SetLength (NXOpen.Annotations.Value length)
 Sets the target length. More...
 
unsafe NXOpen.Annotations.Value GetWidth ()
 Returns the target width More...
 
unsafe void SetWidth (NXOpen.Annotations.Value width)
 Sets the target width. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen.DisplayableObject
enum  ObjectWidth {
  Normal, Thick, Thin, One = 5,
  Two, Three, Four, Five,
  Six, Seven, Eight, Nine
}
 specifies object width for objects such as lines and text More...
 
enum  ObjectFont {
  Solid = 1, Dashed, Phantom, Centerline,
  Dotted, LongDashed, DottedDashed
}
 specifies the object font for objects such as lines More...
 
- Properties inherited from NXOpen.Annotations.DatumTarget
unsafe int Index [get, set]
 Returns or sets the index. More...
 
unsafe bool IsMirrored [get]
 Returns a flag indicating whether the annotation is mirrored More...
 
- Properties inherited from NXOpen.INXObject
bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
string Name [get]
 Returns the custom name of the object. More...
 
NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. 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

unsafe NXOpen.Annotations.Value NXOpen.Annotations.RectangularTarget.GetLength ( )

Returns the target length

Created in NX4.0.0

License requirements: None.

Returns
Length data

Implements NXOpen.Annotations.IRectangularTarget.

unsafe NXOpen.Annotations.Value NXOpen.Annotations.RectangularTarget.GetWidth ( )

Returns the target width

Created in NX4.0.0

License requirements: None.

Returns
Width data

Implements NXOpen.Annotations.IRectangularTarget.

unsafe void NXOpen.Annotations.RectangularTarget.SetLength ( NXOpen.Annotations.Value  length)

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.

unsafe void NXOpen.Annotations.RectangularTarget.SetWidth ( NXOpen.Annotations.Value  width)

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.