public interface XformCollection extends TaggedObjectCollection
Xform
objects.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that Xform
is a smart object and many smart objects are condemned as they
only exist to support other objects and are not displayed. Condemned objects will be deleted when
their references go away.
BasePart
Modifier and Type | Interface and Description |
---|---|
static class |
XformCollection.CreateExtractXformData
This class holds the data returned from
createExtractXform(nxopen.NXObject, nxopen.SmartObject.UpdateOption, boolean) |
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
XformCollection.CreateExtractXformData |
createExtractXform(NXObject object,
SmartObject.UpdateOption updateOption,
boolean forceXformCreation)
Creates a extract Xform based on object.
|
Xform |
createXform(Component workOcc,
Component contextObject,
SmartObject.UpdateOption updateOption)
Creates a Xform in the context of given
Component . |
Xform |
createXform(CoordinateSystem csys,
Offset point0,
Offset point1,
Scalar rotationScalarX,
Scalar rotationScalarY,
Scalar rotationScalarZ,
int rotationOption,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform by offsetting an existing coordinate system through
a translation and a rotation
License requirements: None. |
Xform |
createXform(CoordinateSystem csys,
Point point0,
Point point1,
Scalar rotationScalarX,
Scalar rotationScalarY,
Scalar rotationScalarZ,
int rotationOption,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform by picking up a point from an existing coordinate system
License requirements: None. |
Xform |
createXform(Direction xDirection,
Direction yDirection,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform based on two vectors.
|
Xform |
createXform(DisplayableObject plane,
Direction axis,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform based on a plane and a vector.
|
Xform |
createXform(DisplayableObject plane1,
DisplayableObject plane2,
DisplayableObject plane3,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform by three planes.
|
Xform |
createXform(Explosion explosion,
Component sourceComponent,
Component destComponent,
SmartObject.UpdateOption updateOption)
Creates an Xform based on the delta difference between the source and
destination components in the explosion.
|
Xform |
createXform(NXObject object,
Explosion explosion,
SmartObject.UpdateOption updateOption)
Creates an Xform based on an object and an explosion.
|
Xform |
createXform(NXObject object,
SmartObject.UpdateOption updateOption)
Creates a Xform from the Xform of a a selected curve, plane, or drafting object.
|
Xform |
createXform(Point3d origin,
Matrix3x3 orientation,
SmartObject.UpdateOption update,
double scale)
Creates an Xform
License requirements: None. |
Xform |
createXform(Point3d origin,
Vector3d xDirection,
Vector3d yDirection,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform without parameters.
|
Xform |
createXform(Point xPoint,
Axis zAxis,
SmartObject.UpdateOption updateOption)
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.
|
Xform |
createXform(Point origin,
Direction xDirection,
Direction yDirection,
SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform based on a point and two vectors.
|
Xform |
createXform(Point point,
Point helperPoint,
ICurve curve,
SmartObject.UpdateOption updateOption)
Creates an Xform through a point and perpendicular to a curve or edge.
|
Xform |
createXform(Point point1,
Point point2,
Point point3,
SmartObject.UpdateOption updateOption,
double scale)
Create a Xform based on three points.
|
Xform |
createXform(Point origin,
XYZAxis axis,
Direction direction,
Scalar scale,
SmartObject.UpdateOption updateOption)
Creates an Xform based on origin and a direction.
|
Xform |
createXform(SmartObject.UpdateOption updateOption,
double scale)
Creates a Xform that based off the model space coordinate system.
|
Xform |
createXformAngleAxis(Axis axis,
Expression angle,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the axis and angle.
|
Xform |
createXformAxisVector(Axis axis,
Direction vector,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on a axis and vector.
|
Xform |
createXformByDynamicOffset(CoordinateSystem csys,
Vector3d originOffset,
Matrix3x3 trasformMatrix,
SmartObject.UpdateOption updateOption,
double scale)
Creates an Xform whose location and orientation are determined by applying
a specified origin offset and transformation matrix to an existing coordinate system.
|
Xform |
createXformByPlaneXDirPoint(DisplayableObject plane,
Direction xDirection,
Point point,
SmartObject.UpdateOption updateOption,
double scale,
boolean flipXDirection,
boolean flipZDirection)
Creates a Xform based on a planar face or datum plane, a X-axis vector direction, and a point.
|
Xform |
createXformByPointXDirZDir(Point origin,
Direction xDirection,
Direction zDirection,
SmartObject.UpdateOption updateOption,
double scale)
Creates an Xform based on a point and two vectors.
|
Xform |
createXformByPointYDirZDir(Point origin,
Direction yDirection,
Direction zDirection,
SmartObject.UpdateOption updateOption,
double scale)
Creates an Xform based on a point and two vectors.
|
Xform |
createXformCsysToCsys(CoordinateSystem from,
CoordinateSystem to,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on two csys.
|
Xform |
createXformDeltaXyz(Scalar[] delta,
SmartObject.UpdateOption updateOption)
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.
|
Xform |
createXformDistanceAngle(Expression distance,
Expression angle,
Axis dirr,
Direction angulardirr,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the distance and angle on object.
|
Xform |
createXformDistanceBetweenPoints(Point origin,
Point measure,
Direction vector,
Expression distance,
Expression originDistance,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the direction and points.
|
Xform |
createXformDistanceDirection(Direction direction,
Expression distance,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the direction and distance.
|
Xform |
createXformDistanceRadial(Axis axis,
Point point,
Expression distance,
Expression originDistance,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the axis and points.
|
Xform |
createXformDynamic(Scalar[] org,
Scalar[] mtx,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the manip.
|
Xform |
createXformFromCurrentView(SmartObject.UpdateOption updateOption,
double scale)
Creates an XForm using the current viewing coordinate system.
|
Xform |
createXformRotateThreePoints(Axis vector,
Point start,
Point end,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on the three points and vector.
|
Xform |
createXformTwoPoints(Point from,
Point to,
SmartObject.UpdateOption updateOption)
Creates a Motion Xform based on two points.
|
Xform |
createXformWithReverseNormal(Xform xform,
SmartObject.UpdateOption updateOption)
Creates an Xform based on the delta difference between the source and
destination components in the explosion.
|
Xform |
createXformWithView(View view,
SmartObject.UpdateOption updateOption)
Creates a Xform with an existing view
License requirements: None. |
_find_next, iterator
Xform createXform(Point3d origin, Vector3d xDirection, Vector3d yDirection, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
origin
- Origin pointxDirection
- X directionyDirection
- Y directionupdateOption
- scale
- NXException
RemoteException
Xform createXform(Point3d origin, Matrix3x3 orientation, SmartObject.UpdateOption update, double scale) throws NXException, RemoteException
origin
- Origin pointorientation
- Orientationupdate
- The update optionscale
- ScaleNXException
RemoteException
Xform createXform(SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
updateOption
- scale
- NXException
RemoteException
Xform createXform(Point point1, Point point2, Point point3, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
point1
- point2
- point3
- updateOption
- scale
- NXException
RemoteException
Xform createXform(DisplayableObject plane1, DisplayableObject plane2, DisplayableObject plane3, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
Face
or
a DatumPlane
.
plane1
- plane2
- plane3
- updateOption
- scale
- NXException
RemoteException
Xform createXform(CoordinateSystem csys, Point point0, Point point1, Scalar rotationScalarX, Scalar rotationScalarY, Scalar rotationScalarZ, int rotationOption, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
csys
- Existing coordinate systempoint0
- Start pointpoint1
- End pointrotationScalarX
- Scalar of X rotationrotationScalarY
- Scalar of Y rotationrotationScalarZ
- Scalar of Z rotationrotationOption
- 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
- Update option of smart objectscale
- Xform scalarNXException
RemoteException
Xform createXformWithView(View view, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
view
- Existing viewupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXform(CoordinateSystem csys, Offset point0, Offset point1, Scalar rotationScalarX, Scalar rotationScalarY, Scalar rotationScalarZ, int rotationOption, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
csys
- Existing coordinate systempoint0
- Start pointpoint1
- End pointrotationScalarX
- Scalar of X rotationrotationScalarY
- Scalar of Y rotationrotationScalarZ
- Scalar of Z rotationrotationOption
- 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
- Update option of smart objectscale
- Xform scalarNXException
RemoteException
Xform createXformByDynamicOffset(CoordinateSystem csys, Vector3d originOffset, Matrix3x3 trasformMatrix, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
csys
- Existing coordinate systemoriginOffset
- Offset for coordinate system origintrasformMatrix
- Transformation matrix for coordinate system orientationupdateOption
- Update option of smart objectscale
- Scale factorNXException
RemoteException
Xform createXform(Point origin, Direction xDirection, Direction yDirection, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
origin
- xDirection
- yDirection
- updateOption
- scale
- NXException
RemoteException
Xform createXformByPointXDirZDir(Point origin, Direction xDirection, Direction zDirection, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
origin
- pointxDirection
- x vectorzDirection
- z vectorupdateOption
- Update option of smart objectscale
- Scale factorNXException
RemoteException
Xform createXformByPointYDirZDir(Point origin, Direction yDirection, Direction zDirection, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
origin
- pointyDirection
- y vectorzDirection
- z vectorupdateOption
- Update option of smart objectscale
- Scale factorNXException
RemoteException
Xform createXform(Direction xDirection, Direction yDirection, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
xDirection
- yDirection
- updateOption
- scale
- NXException
RemoteException
Xform createXform(DisplayableObject plane, Direction axis, SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
Face
or
a DatumPlane
.
plane
- axis
- updateOption
- scale
- NXException
RemoteException
Xform createXform(Point xPoint, Axis zAxis, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
xPoint
- zAxis
- updateOption
- NXException
RemoteException
Xform createXform(Point point, Point helperPoint, ICurve curve, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
point
- The X-Y plane will go through this pointhelperPoint
- curve
- The Z-axis will be tangent to the curveupdateOption
- NXException
RemoteException
Xform createXform(Component workOcc, Component contextObject, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
workOcc
- contextObject
- updateOption
- NXException
RemoteException
Xform createXformFromCurrentView(SmartObject.UpdateOption updateOption, double scale) throws NXException, RemoteException
updateOption
- scale
- NXException
RemoteException
Xform createXform(NXObject object, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
object
- Object from which XForm createsupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXform(NXObject object, Explosion explosion, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
object
- NX objectexplosion
- ExplosionupdateOption
- Update option of smart objectNXException
RemoteException
XformCollection.CreateExtractXformData createExtractXform(NXObject object, SmartObject.UpdateOption updateOption, boolean forceXformCreation) throws NXException, RemoteException
object
- NX objectupdateOption
- Update option of smart objectforceXformCreation
- Force the interpart xform to be createdNXException
RemoteException
Xform createXform(Explosion explosion, Component sourceComponent, Component destComponent, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
explosion
- ExplosionsourceComponent
- Source componentdestComponent
- Destination componentupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXform(Point origin, XYZAxis axis, Direction direction, Scalar scale, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
nxopen.XYZAxis
passed.
The other two directions are evaluated from the cross product
to a non-parallel global axis (global X, Y or Z)
origin
- origin of the Xformaxis
- specifies whether the direction passed is
X, Y or Z of the Xformdirection
- specifies X directionscale
- scalar factorupdateOption
- update option to be used after creating the XformNXException
RemoteException
Xform createXformWithReverseNormal(Xform xform, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
xform
- XForm to be reversed normalupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformDistanceDirection(Direction direction, Expression distance, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
direction
- direction of DistanceDirectionParms xformdistance
- distance of DistanceDirectionParms xformupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformDistanceBetweenPoints(Point origin, Point measure, Direction vector, Expression distance, Expression originDistance, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
origin
- origin point of DistanceBetweenPtsParms xformmeasure
- measure point of DistanceBetweenPtsParms xformvector
- direction of DistanceBetweenPtsParms xformdistance
- distance of DistanceBetweenPtsParms xformoriginDistance
- distance between origin point and object to be movedupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformDistanceRadial(Axis axis, Point point, Expression distance, Expression originDistance, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
axis
- axis of DistanceRadialParms xformpoint
- measure point of DistanceRadialParms xfromdistance
- distance of DistanceRadialParms xfromoriginDistance
- distance between axis point and faceupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformAngleAxis(Axis axis, Expression angle, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
axis
- angular axisangle
- angleupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformTwoPoints(Point from, Point to, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
from
- The "from point" of TwoPointsParms xformto
- The "to point" of TwoPointsParms xformupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformRotateThreePoints(Axis vector, Point start, Point end, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
vector
- axis of RotateThreePtsParms xformstart
- start point of RotateThreePtsParms xformend
- end point of RotateThreePtsParms xformupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformAxisVector(Axis axis, Direction vector, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
axis
- axis of AxisToVectorParms xfromvector
- vector of AxisToVectorParms xformupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformCsysToCsys(CoordinateSystem from, CoordinateSystem to, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
from
- "from csys" of CsysToCsysParms xformto
- "to csys" where object is moved for of CsysToCsysParms xformupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformDistanceAngle(Expression distance, Expression angle, Axis dirr, Direction angulardirr, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
distance
- linear transformangle
- angular transformdirr
- linear directionangulardirr
- angular directionupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformDynamic(Scalar[] org, Scalar[] mtx, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
org
- origin point of manipulatormtx
- matrix of manipulatorupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformDeltaXyz(Scalar[] delta, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
delta
- delta xyz valuesupdateOption
- Update option of smart objectNXException
RemoteException
Xform createXformByPlaneXDirPoint(DisplayableObject plane, Direction xDirection, Point point, SmartObject.UpdateOption updateOption, double scale, boolean flipXDirection, boolean flipZDirection) throws NXException, RemoteException
plane
- planar face or datum planexDirection
- x vector directionpoint
- pointupdateOption
- Update option of smart objectscale
- Scale factorflipXDirection
- flag to flip the X direction of CSYSflipZDirection
- flag to flip the Z direction of CSYSNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.