XformCollection Class¶
-
class
NXOpen.
XformCollection
¶ Bases:
object
Represents a collection of
NXOpen.Xform
objects.Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that
NXOpen.Xform
is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed. To obtain an instance of this class, refer toNXOpen.BasePart
New in version NX3.0.0.
Methods¶
Method | Description |
---|---|
CreateExtractXform | Creates an extract Xform based on an object. |
CreateXform | Creates a Xform without parameters. |
CreateXformAngleAxis | Creates a Motion Xform based on the axis and angle. |
CreateXformAxisVector | Creates a Motion Xform based on a axis and vector. |
CreateXformByDynamicOffset | Creates an Xform whose location and orientation are determined by applying a specified origin offset and transformation matrix to an existing coordinate system. |
CreateXformByPlaneXDirPoint | Creates an Xform based on a planar face or datum plane, an X-axis vector direction, and a point. |
CreateXformByPlaneYDirPoint | Creates an Xform based on a planar face or datum plane, a Y-axis vector direction, and a point. |
CreateXformByPointXDirZDir | Creates an Xform based on a point and two vectors. |
CreateXformByPointYDirZDir | Creates an Xform based on a point and two vectors. |
CreateXformCsysToCsys | Creates a Motion Xform based on two csys. |
CreateXformDeltaXyz | Creates a Motion Xform based on delta x, y, and z values where the x, y, and z directions are relative to a reference coordinate system. |
CreateXformDistanceAngle | Creates a Motion Xform based on the distance and angle on object. |
CreateXformDistanceBetweenPoints | Creates a Motion Xform based on the direction and points. |
CreateXformDistanceDirection | Creates a Motion Xform based on the direction and distance. |
CreateXformDistanceRadial | Creates a Motion Xform based on the axis and points. |
CreateXformDynamic | Creates a Motion Xform based on the manip. |
CreateXformFromCurrentView | Creates an XForm using the current viewing coordinate system. |
CreateXformRotateThreePoints | Creates a Motion Xform based on the three points and vector. |
CreateXformTwoPoints | Creates a Motion Xform based on two points. |
CreateXformWithReverseNormal | Creates an Xform based on the delta difference between the source and destination components in the explosion. |
CreateXformWithView | Creates a Xform with an existing view |
Method Detail¶
CreateExtractXform¶
-
XformCollection.
CreateExtractXform
¶ Creates an extract Xform based on an object.
Signature
CreateExtractXform(object, updateOption, forceXformCreation)
Parameters: - object (
NXOpen.NXObject
) – NX object - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - forceXformCreation (bool) – Force the interpart xform to be created
Returns: a tuple
Return type: A tuple consisting of (xform, proto). xform is a
NXOpen.Xform
. Xform proto is aNXOpen.NXObject
. Prototype of the object being extractedNew in version NX5.0.0.
License requirements: None.
- object (
CreateXform¶
-
XformCollection.
CreateXform
¶ Overloaded method CreateXform
CreateXform(origin, xDirection, yDirection, updateOption, scale)
CreateXform(origin, orientation, update, scale)
CreateXform(updateOption, scale)
CreateXform(point1, point2, point3, updateOption, scale)
CreateXform(plane1, plane2, plane3, updateOption, scale)
CreateXform(csys, point0, point1, rotationScalarX, rotationScalarY, rotationScalarZ, rotationOption, updateOption, scale)
CreateXform(csys, point0, point1, rotationScalarX, rotationScalarY, rotationScalarZ, rotationOption, updateOption, scale)
CreateXform(origin, xDirection, yDirection, updateOption, scale)
CreateXform(xDirection, yDirection, updateOption, scale)
CreateXform(plane, axis, updateOption, scale)
CreateXform(xPoint, zAxis, updateOption)
CreateXform(point, helperPoint, curve, updateOption)
CreateXform(workOcc, contextObject, updateOption)
CreateXform(object, updateOption)
CreateXform(object, explosion, updateOption)
CreateXform(explosion, sourceComponent, destComponent, updateOption)
CreateXform(origin, axis, direction, scale, updateOption)
-------------------------------------
Creates a Xform without parameters.
Signature
CreateXform(origin, xDirection, yDirection, updateOption, scale)
Parameters: - origin (
NXOpen.Point3d
) – Origin point - xDirection (
NXOpen.Vector3d
) – X direction - yDirection (
NXOpen.Vector3d
) – Y direction - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Creates an Xform
Signature
CreateXform(origin, orientation, update, scale)
Parameters: - origin (
NXOpen.Point3d
) – Origin point - orientation (
NXOpen.Matrix3x3
) – Orientation - update (
NXOpen.SmartObjectUpdateOption
) – The update option - scale (float) – Scale
Returns: Return type: New in version NX5.0.1.
License requirements: None.
-------------------------------------
Creates an Xform that is based off the model space coordinate system. The X and Y Axes are the X and Y Axes of the absolute transform. The origin is the origin of the absolute transform.
Signature
CreateXform(updateOption, scale)
Parameters: - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Create an Xform based on three points. The origin is the first point, the X-Axis is the vector from the first to the second point, and the Y-Axis is the vector from the first to the third point.
Signature
CreateXform(point1, point2, point3, updateOption, scale)
Parameters: - point1 (
NXOpen.Point
) – - point2 (
NXOpen.Point
) – - point3 (
NXOpen.Point
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Creates an Xform by three planes. Defines an xform based on the input of three planes. These can be either planar faces, datum planes or plane objects. The X-Axis is normal of the first plane, the Y-Axis is normal of the second plane, the origin is the intersection of the three plane. The plane can either be a planar
NXOpen.Face
, aNXOpen.DatumPlane
or a aNXOpen.Plane
. If the xform is to be used to create a CSYS, then the planes should beNXOpen.Plane
objects.Signature
CreateXform(plane1, plane2, plane3, updateOption, scale)
Parameters: - plane1 (
NXOpen.DisplayableObject
) – - plane2 (
NXOpen.DisplayableObject
) – - plane3 (
NXOpen.DisplayableObject
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Creates a Xform by picking up a point from an existing coordinate system
Signature
CreateXform(csys, point0, point1, rotationScalarX, rotationScalarY, rotationScalarZ, rotationOption, updateOption, scale)
Parameters: - csys (
NXOpen.CoordinateSystem
) – Existing coordinate system - point0 (
NXOpen.Point
) – Start point - point1 (
NXOpen.Point
) – End point - rotationScalarX (
NXOpen.Scalar
) – Scalar of X rotation - rotationScalarY (
NXOpen.Scalar
) – Scalar of Y rotation - rotationScalarZ (
NXOpen.Scalar
) – Scalar of Z rotation - rotationOption (int) – Determine the sequence of applying rotation and translation. If the value is 0, then a translation is first applied. Otherwise, a roation is first applied.
- updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Xform scalar
Returns: Xform
Return type: New in version NX4.0.0.
License requirements: None.
-------------------------------------
Creates a Xform by offsetting an existing coordinate system through a translation and a rotation
Signature
CreateXform(csys, point0, point1, rotationScalarX, rotationScalarY, rotationScalarZ, rotationOption, updateOption, scale)
Parameters: - csys (
NXOpen.CoordinateSystem
) – Existing coordinate system - point0 (
NXOpen.Offset
) – Start point - point1 (
NXOpen.Offset
) – End point - rotationScalarX (
NXOpen.Scalar
) – Scalar of X rotation - rotationScalarY (
NXOpen.Scalar
) – Scalar of Y rotation - rotationScalarZ (
NXOpen.Scalar
) – Scalar of Z rotation - rotationOption (int) – Determine the sequence of applying rotation and translation. If the value is 0, then a translation is first applied. Otherwise, a roation is first applied.
- updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Xform scalar
Returns: Xform
Return type: New in version NX4.0.0.
License requirements: None.
-------------------------------------
Creates an Xform based on a point and two vectors. The X and Y Axes are the vectors.
Signature
CreateXform(origin, xDirection, yDirection, updateOption, scale)
Parameters: - origin (
NXOpen.Point
) – - xDirection (
NXOpen.Direction
) – - yDirection (
NXOpen.Direction
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Creates an Xform based on two vectors. The X and Y Axes are vectors, with the origin being the vector intersection point.
Signature
CreateXform(xDirection, yDirection, updateOption, scale)
Parameters: - xDirection (
NXOpen.Direction
) – - yDirection (
NXOpen.Direction
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Creates a Xform based on a plane and a vector. The X-Axis is the plane normal direction, the Y-Axis is the direction of the projection of the vector onto the plane, and the origin is the intersection of the plane and the vector. The plane can either be a planar
NXOpen.Face
or aNXOpen.DatumPlane
.Signature
CreateXform(plane, axis, updateOption, scale)
Parameters: - plane (
NXOpen.DisplayableObject
) – - axis (
NXOpen.Direction
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX3.0.0.
License requirements: None.
-------------------------------------
Creates an Xform using a Z axis and X point The X-Axis is the vector from the Z-Axis vector to the point; the Y-Axis is computed from the X and Z axis; the origin is the intersection of the three vectors.
Signature
CreateXform(xPoint, zAxis, updateOption)
Parameters: - xPoint (
NXOpen.Point
) – - zAxis (
NXOpen.Axis
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) –
Returns: Return type: New in version NX5.0.0.
License requirements: None.
-------------------------------------
Creates an Xform through a point and perpendicular to a curve or edge. The Z-axis is tangent to the curve or edge, and the X-Y plane goes through the point. When you select a linear curve, the X-Axis is a perpendicular vector from the curve to the point. When you select a non-linear curve, the X-Axis points in an arbitrary orientation and not towards the selected point.
Signature
CreateXform(point, helperPoint, curve, updateOption)
Parameters: - point (
NXOpen.Point
) – The X-Y plane will go through this point - helperPoint (
NXOpen.Point
) – - curve (
NXOpen.ICurve
) – The Z-axis will be tangent to the curve - updateOption (
NXOpen.SmartObjectUpdateOption
) –
Returns: Return type: New in version NX5.0.0.
License requirements: None.
-------------------------------------
Creates an Xform in the context of the given
NXOpen.Assemblies.Component
.Signature
CreateXform(workOcc, contextObject, updateOption)
Parameters: - workOcc (
NXOpen.Assemblies.Component
) – - contextObject (
NXOpen.Assemblies.Component
) – - updateOption (
NXOpen.SmartObjectUpdateOption
) –
Returns: Return type: New in version NX5.0.0.
License requirements: None.
-------------------------------------
Creates an Xform from the Xform of a selected curve, plane, or drafting object. If the selected curve is non-planar an error will be thrown. If the curve is an arc, ellipse, hyperbola, parabola, or circle, the origin will be at the respective curve’s center. If the object is a planar face or a datum plane, the Z-axis is the normal vector of the plane.
Signature
CreateXform(object, updateOption)
Parameters: - object (
NXOpen.NXObject
) – Object from which XForm creates - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Return type: New in version NX5.0.0.
License requirements: None.
-------------------------------------
Creates an Xform based on an object and an explosion.
Signature
CreateXform(object, explosion, updateOption)
Parameters: - object (
NXOpen.NXObject
) – NX object - explosion (
NXOpen.Assemblies.Explosion
) – Explosion - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX4.0.0.
License requirements: None.
-------------------------------------
Creates an Xform based on the delta difference between the source and destination components in the explosion.
Signature
CreateXform(explosion, sourceComponent, destComponent, updateOption)
Parameters: - explosion (
NXOpen.Assemblies.Explosion
) – Explosion - sourceComponent (
NXOpen.Assemblies.Component
) – Source component - destComponent (
NXOpen.Assemblies.Component
) – Destination component - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX4.0.0.
License requirements: None.
-------------------------------------
Creates an Xform based on origin and a direction. The direction passed is taken as the X, Y or Z axis based on the
NXOpen.XYZAxis
passed. The other two directions are evaluated from the cross product to a non-parallel global axis (global X, Y or Z)Signature
CreateXform(origin, axis, direction, scale, updateOption)
Parameters: - origin (
NXOpen.Point
) – origin of the Xform - axis (
NXOpen.XYZAxis
) – specifies whether the direction passed is X, Y or Z of the Xform - direction (
NXOpen.Direction
) – specifies X direction - scale (
NXOpen.Scalar
) – scalar factor - updateOption (
NXOpen.SmartObjectUpdateOption
) – update option to be used after creating the Xform
Returns: Return type: New in version NX5.0.0.
License requirements: None.
-------------------------------------
CreateXformAngleAxis¶
-
XformCollection.
CreateXformAngleAxis
¶ Creates a Motion Xform based on the axis and angle.
Signature
CreateXformAngleAxis(axis, angle, updateOption)
Parameters: - axis (
NXOpen.Axis
) – angular axis - angle (
NXOpen.Expression
) – angle - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- axis (
CreateXformAxisVector¶
-
XformCollection.
CreateXformAxisVector
¶ Creates a Motion Xform based on a axis and vector.
Signature
CreateXformAxisVector(axis, vector, updateOption)
Parameters: - axis (
NXOpen.Axis
) – axis of AxisToVectorParms xfrom - vector (
NXOpen.Direction
) – vector of AxisToVectorParms xform - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- axis (
CreateXformByDynamicOffset¶
-
XformCollection.
CreateXformByDynamicOffset
¶ Creates an Xform whose location and orientation are determined by applying a specified origin offset and transformation matrix to an existing coordinate system.
Signature
CreateXformByDynamicOffset(csys, originOffset, trasformMatrix, updateOption, scale)
Parameters: - csys (
NXOpen.CoordinateSystem
) – Existing coordinate system - originOffset (
NXOpen.Vector3d
) – Offset for coordinate system origin - trasformMatrix (
NXOpen.Matrix3x3
) – Transformation matrix for coordinate system orientation - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Scale factor
Returns: created Xform
Return type: New in version NX6.0.0.
License requirements: None.
- csys (
CreateXformByPlaneXDirPoint¶
-
XformCollection.
CreateXformByPlaneXDirPoint
¶ Creates an Xform based on a planar face or datum plane, an X-axis vector direction, and a point.
Signature
CreateXformByPlaneXDirPoint(plane, xDirection, point, updateOption, scale, flipXDirection, flipZDirection)
Parameters: - plane (
NXOpen.DisplayableObject
) – planar face or datum plane - xDirection (
NXOpen.Direction
) – x vector direction - point (
NXOpen.Point
) – point - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Scale factor
- flipXDirection (bool) – flag to flip the X direction of CSYS
- flipZDirection (bool) – flag to flip the Z direction of CSYS
Returns: created Xform
Return type: New in version NX7.5.0.
License requirements: None.
- plane (
CreateXformByPlaneYDirPoint¶
-
XformCollection.
CreateXformByPlaneYDirPoint
¶ Creates an Xform based on a planar face or datum plane, a Y-axis vector direction, and a point.
Signature
CreateXformByPlaneYDirPoint(plane, yDirection, point, updateOption, scale, flipYDirection, flipZDirection)
Parameters: - plane (
NXOpen.DisplayableObject
) – planar face or datum plane - yDirection (
NXOpen.Direction
) – y vector direction - point (
NXOpen.Point
) – point - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Scale factor
- flipYDirection (bool) – flag to flip the Y direction of CSYS
- flipZDirection (bool) – flag to flip the Z direction of CSYS
Returns: created Xform
Return type: New in version NX11.0.0.
License requirements: None.
- plane (
CreateXformByPointXDirZDir¶
-
XformCollection.
CreateXformByPointXDirZDir
¶ Creates an Xform based on a point and two vectors.
The X and Z Axes are the vectors.
Signature
CreateXformByPointXDirZDir(origin, xDirection, zDirection, updateOption, scale)
Parameters: - origin (
NXOpen.Point
) – point - xDirection (
NXOpen.Direction
) – x vector - zDirection (
NXOpen.Direction
) – z vector - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Scale factor
Returns: created Xform
Return type: New in version NX6.0.0.
License requirements: None.
- origin (
CreateXformByPointYDirZDir¶
-
XformCollection.
CreateXformByPointYDirZDir
¶ Creates an Xform based on a point and two vectors.
The Y and Z Axes are the vectors.
Signature
CreateXformByPointYDirZDir(origin, yDirection, zDirection, updateOption, scale)
Parameters: - origin (
NXOpen.Point
) – point - yDirection (
NXOpen.Direction
) – y vector - zDirection (
NXOpen.Direction
) – z vector - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object - scale (float) – Scale factor
Returns: created Xform
Return type: New in version NX6.0.0.
License requirements: None.
- origin (
CreateXformCsysToCsys¶
-
XformCollection.
CreateXformCsysToCsys
¶ Creates a Motion Xform based on two csys.
Signature
CreateXformCsysToCsys(from, to, updateOption)
Parameters: - from (
NXOpen.CoordinateSystem
) – “from csys” of CsysToCsysParms xform - to (
NXOpen.CoordinateSystem
) – “to csys” where object is moved for of CsysToCsysParms xform - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- from (
CreateXformDeltaXyz¶
-
XformCollection.
CreateXformDeltaXyz
¶ Creates a Motion Xform based on delta x, y, and z values where the x, y, and z directions are relative to a reference coordinate system.
Signature
CreateXformDeltaXyz(delta, updateOption)
Parameters: - delta (list of
NXOpen.Scalar
) – delta xyz values - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX7.0.0.
License requirements: None.
- delta (list of
CreateXformDistanceAngle¶
-
XformCollection.
CreateXformDistanceAngle
¶ Creates a Motion Xform based on the distance and angle on object.
Signature
CreateXformDistanceAngle(distance, angle, dirr, angulardirr, updateOption)
Parameters: - distance (
NXOpen.Expression
) – linear transform - angle (
NXOpen.Expression
) – angular transform - dirr (
NXOpen.Axis
) – linear direction - angulardirr (
NXOpen.Direction
) – angular direction - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- distance (
CreateXformDistanceBetweenPoints¶
-
XformCollection.
CreateXformDistanceBetweenPoints
¶ Creates a Motion Xform based on the direction and points.
Signature
CreateXformDistanceBetweenPoints(origin, measure, vector, distance, originDistance, updateOption)
Parameters: - origin (
NXOpen.Point
) – origin point of DistanceBetweenPtsParms xform - measure (
NXOpen.Point
) – measure point of DistanceBetweenPtsParms xform - vector (
NXOpen.Direction
) – direction of DistanceBetweenPtsParms xform - distance (
NXOpen.Expression
) – distance of DistanceBetweenPtsParms xform - originDistance (
NXOpen.Expression
) – distance between origin point and object to be moved - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- origin (
CreateXformDistanceDirection¶
-
XformCollection.
CreateXformDistanceDirection
¶ Creates a Motion Xform based on the direction and distance.
Signature
CreateXformDistanceDirection(direction, distance, updateOption)
Parameters: - direction (
NXOpen.Direction
) – direction of DistanceDirectionParms xform - distance (
NXOpen.Expression
) – distance of DistanceDirectionParms xform - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- direction (
CreateXformDistanceRadial¶
-
XformCollection.
CreateXformDistanceRadial
¶ Creates a Motion Xform based on the axis and points.
Signature
CreateXformDistanceRadial(axis, point, distance, originDistance, updateOption)
Parameters: - axis (
NXOpen.Axis
) – axis of DistanceRadialParms xform - point (
NXOpen.Point
) – measure point of DistanceRadialParms xfrom - distance (
NXOpen.Expression
) – distance of DistanceRadialParms xfrom - originDistance (
NXOpen.Expression
) – distance between axis point and face - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- axis (
CreateXformDynamic¶
-
XformCollection.
CreateXformDynamic
¶ Creates a Motion Xform based on the manip.
Signature
CreateXformDynamic(org, mtx, updateOption)
Parameters: - org (list of
NXOpen.Scalar
) – origin point of manipulator - mtx (list of
NXOpen.Scalar
) – matrix of manipulator - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- org (list of
CreateXformFromCurrentView¶
-
XformCollection.
CreateXformFromCurrentView
¶ Creates an XForm using the current viewing coordinate system.
The X-Axis is parallel to the bottom of the view, the Y-Axis is parallel to the side of the view, and the origin is the origin of the view (the middle of the graphics screen). The coordinate system uses the right-hand rule so the Z-axis points out of the screen. Since the current viewing coordinate system does not exist if the NX session is running in batch mode, the absolute coordinate system will be returned instead.
Signature
CreateXformFromCurrentView(updateOption, scale)
Parameters: - updateOption (
NXOpen.SmartObjectUpdateOption
) – - scale (float) –
Returns: Return type: New in version NX4.0.0.
License requirements: None.
- updateOption (
CreateXformRotateThreePoints¶
-
XformCollection.
CreateXformRotateThreePoints
¶ Creates a Motion Xform based on the three points and vector.
Signature
CreateXformRotateThreePoints(vector, start, end, updateOption)
Parameters: - vector (
NXOpen.Axis
) – axis of RotateThreePtsParms xform - start (
NXOpen.Point
) – start point of RotateThreePtsParms xform - end (
NXOpen.Point
) – end point of RotateThreePtsParms xform - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- vector (
CreateXformTwoPoints¶
-
XformCollection.
CreateXformTwoPoints
¶ Creates a Motion Xform based on two points.
Signature
CreateXformTwoPoints(from, to, updateOption)
Parameters: - from (
NXOpen.Point
) – The “from point” of TwoPointsParms xform - to (
NXOpen.Point
) – The “to point” of TwoPointsParms xform - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- from (
CreateXformWithReverseNormal¶
-
XformCollection.
CreateXformWithReverseNormal
¶ Creates an Xform based on the delta difference between the source and destination components in the explosion.
Signature
CreateXformWithReverseNormal(xform, updateOption)
Parameters: - xform (
NXOpen.Xform
) – XForm to be reversed normal - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX5.0.0.
License requirements: None.
- xform (
CreateXformWithView¶
-
XformCollection.
CreateXformWithView
¶ Creates a Xform with an existing view
Signature
CreateXformWithView(view, updateOption)
Parameters: - view (
NXOpen.View
) – Existing view - updateOption (
NXOpen.SmartObjectUpdateOption
) – Update option of smart object
Returns: Xform
Return type: New in version NX6.0.0.
License requirements: None.
- view (