FlatPatternObject Class¶
-
class
NXOpen.Drawings.
FlatPatternObject
¶ Bases:
NXOpen.TransientObject
Provides an interface to the data available for flat pattern objects on drawing views.
New in version NX6.0.3.
Methods¶
Method | Description |
---|---|
Dispose | Frees the memory of the underlying class |
GetDirections | Returns the X and Y direction vectors that correspond to the flattened datum csys feature object. |
GetFlatSolidObject | Returns the point object containing the attributes the user put on the original datum CSYS feature. |
GetOrigin | Returns the origin of the marker object (the point on the drawing). |
Method Detail¶
Dispose¶
-
FlatPatternObject.
Dispose
¶ Frees the memory of the underlying class
Signature
Dispose()
New in version NX6.0.3.
License requirements: None.
GetDirections¶
-
FlatPatternObject.
GetDirections
¶ Returns the X and Y direction vectors that correspond to the flattened datum csys feature object.
The vectors have been transformed to drawing sheet coordinates.
Signature
GetDirections()
Returns: a tuple Return type: A tuple consisting of (xDirection, yDirection). xDirection is a NXOpen.Vector3d
. X direction of simulated CSYS yDirection is aNXOpen.Vector3d
. Y direction of simulated CSYSNew in version NX6.0.3.
License requirements: None.
GetFlatSolidObject¶
-
FlatPatternObject.
GetFlatSolidObject
¶ Returns the point object containing the attributes the user put on the original datum CSYS feature.
This is the prototype object. The recommended procedure is to use the point to obtain attribute values and to use GetOrigin and GetDirections to obtain the geometrical data because of mappings to occurrences and to the drawing sheet.
Signature
GetFlatSolidObject()
Returns: Return type: NXOpen.CartesianCoordinateSystem
New in version NX6.0.3.
License requirements: None.
GetOrigin¶
-
FlatPatternObject.
GetOrigin
¶ Returns the origin of the marker object (the point on the drawing).
The point has been transformed to drawing sheet coordinates.
Signature
GetOrigin()
Returns: Return type: NXOpen.Point3d
New in version NX6.0.3.
License requirements: None.