RectangularTargetData Class¶
-
class
NXOpen.Annotations.
RectangularTargetData
¶ Bases:
NXOpen.Annotations.DatumTargetData
Represents rectangular datum target data
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
DatumLabel | Returns or sets the datum label. |
Index | Returns or sets the target index. |
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetLength | Returns the length @return Length data |
GetSimpleDraftingAidPreferences | Returns the SimpleDraftingAidPreferences object @return Datum target preferences |
GetWidth | Returns the width @return Width data |
SetLength | Sets the length. |
SetSimpleDraftingAidPreferences | Sets the SimpleDraftingAidPreferences object |
SetWidth | Sets the width. |
Method Detail¶
Dispose¶
-
RectangularTargetData.
Dispose
¶ 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.
Signature
Dispose()
New in version NX4.0.0.
License requirements: None.
GetLength¶
-
RectangularTargetData.
GetLength
¶ Returns the length
Signature
GetLength()
Returns: Length data Return type: NXOpen.Annotations.Value
New in version NX4.0.0.
License requirements: None.
GetWidth¶
-
RectangularTargetData.
GetWidth
¶ Returns the width
Signature
GetWidth()
Returns: Width data Return type: NXOpen.Annotations.Value
New in version NX4.0.0.
License requirements: None.
SetLength¶
-
RectangularTargetData.
SetLength
¶ 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.
Signature
SetLength(length)
Parameters: length ( NXOpen.Annotations.Value
) – New length dataNew in version NX4.0.0.
License requirements: None.
SetWidth¶
-
RectangularTargetData.
SetWidth
¶ 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.
Signature
SetWidth(width)
Parameters: width ( NXOpen.Annotations.Value
) – New width dataNew in version NX4.0.0.
License requirements: None.