NXOpen .NET Reference Guide
1899
|
Represents the World Coordinate System. More...
Public Types | |
enum | Axis { XAxis = 1, YAxis, ZAxis } |
Specifies the X, Y, or Z axis More... | |
Public Member Functions | |
unsafe void | Rotate (NXOpen.WCS.Axis rotationAxis, double angle) |
Rotates the WCS about the specified axis. More... | |
unsafe NXOpen.CartesianCoordinateSystem | Save () |
Saves the WCS. More... | |
unsafe NXOpen.CartesianCoordinateSystem | SetCoordinateSystem (NXOpen.CartesianCoordinateSystem newCs) |
Changes the coordinate system of the WCS to a new coordinate system. More... | |
unsafe NXOpen.CartesianCoordinateSystem | SetCoordinateSystemCartesianAtCsys (NXOpen.CartesianCoordinateSystem newCs) |
Creates a WCS at a new coordinate system. More... | |
unsafe void | SetOriginAndMatrix (NXOpen.Point3d origin, NXOpen.Matrix3x3 matrix) |
Sets the origin and orientation matrix of the WCS More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe NXOpen.CartesianCoordinateSystem | CoordinateSystem [get] |
Returns the CartesianCoordinateSystem associated with the WCS More... | |
unsafe NXOpen.Point3d | Origin [get, set] |
Returns or sets the origin of the WCS More... | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
unsafe bool | Visibility [get, set] |
Returns or sets the visibility of the WCS More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Represents the World Coordinate System.
The origin coordinates and orientation matrix are always relative to the absolute coordinate system.
In order to use any of the WCS methods, the display part must be the part that owns the WCS.
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX3.0.0
enum NXOpen.WCS.Axis |
|
inline |
Rotates the WCS about the specified axis.
The angle is in degrees.
Created in NX3.0.0
License requirements: None.
rotationAxis | Which WCS axis to rotate about (X, Y, or Z) |
angle | Angle of rotation in degrees |
|
inline |
Saves the WCS.
A new cartesian coordinate system is created in the work part, even though the WCS is owned by the display part.
Created in NX3.0.0
License requirements: None.
|
inline |
Changes the coordinate system of the WCS to a new coordinate system.
The return value is the old coordinate system. The old coordinate system will be displayed after the WCS is moved to the location of the new coordinate system.
Created in NX4.0.0
License requirements: None.
newCs | The new coordinate system for the WCS |
|
inline |
Creates a WCS at a new coordinate system.
The return value is the old coordinate system of wcs.
Created in NX7.5.0
License requirements: None.
newCs | New coordinate system location for the WCS |
|
inline |
Sets the origin and orientation matrix of the WCS
Created in NX3.0.0
License requirements: None.
origin | Origin relative to the absolute coordinate system |
matrix | Orientation relative to the absolute coordinate system. Must be orthonormal. |
|
get |
Returns the CartesianCoordinateSystem associated with the WCS
Created in NX3.0.0
License requirements: None.
|
getset |
Returns or sets the origin of the WCS
Created in NX3.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the tag of this object.
|
getset |
Returns or sets the visibility of the WCS
Created in NX3.0.0
License requirements to get this property: None.
License requirements to set this property: None.