DirectionCollection Class

class NXOpen.DirectionCollection

Bases: object

Represents a collection of NXOpen.Direction.

Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen.Direction 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 to NXOpen.BasePart

New in version NX3.0.0.

Methods

Method Description
CreateDirection Creates a NXOpen.Direction without parameters.
CreateDirectionOnPointParentCurve Creates a NXOpen.Direction on a parent NXOpen.ICurve of a NXOpen.Point.

Method Detail

CreateDirection

DirectionCollection.CreateDirection

Overloaded method CreateDirection

  • CreateDirection(origin, vector, update)
  • CreateDirection(line, sense, updateOption)
  • CreateDirection(edge, sense, updateOption)
  • CreateDirection(datumAxis, sense, updateOption)
  • CreateDirection(startPoint, endPoint, updateOption)
  • CreateDirection(startPoint, endPoint, updateOption)
  • CreateDirection(face, sense, updateOption)
  • CreateDirection(plane, sense, updateOption)
  • CreateDirection(plane, sense, updateOption)
  • CreateDirection(conic, sense, updateOption)
  • CreateDirection(icurve, t, option, sense, updateOption)
  • CreateDirection(icurve, point, option, sense, updateOption)
  • CreateDirection(face, u, v, sense, updateOption)
  • CreateDirection(face, u, v, absoluteUv, option, sectionDirection, sense, updateOption)
  • CreateDirection(face, u, v, absoluteUv, sectionAngle, sense, updateOption)
  • CreateDirection(atPoint, face, option, sectionDirection, sense, updateOption)
  • CreateDirection(directionExtract, xform, updateOption)
  • CreateDirection(point, vector)
  • CreateDirection(geomObj, point, sense, updateOption)
  • CreateDirection(direction, updateOption)
  • CreateDirection(port, sense, updateOption)
  • CreateDirection(direction1, direction2, updateOption)
  • CreateDirection(point, exp, sense, updateOption)
  • CreateDirection(face, point, sense, updateOption)
  • CreateDirection(faces, point, sense, updateOption)

-------------------------------------

Creates a NXOpen.Direction without parameters.

Signature CreateDirection(origin, vector, update)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using a NXOpen.Line.

Signature CreateDirection(line, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using a linear NXOpen.Edge or the axis of a conical NXOpen.Edge.

Signature CreateDirection(edge, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using a NXOpen.DatumAxis.

Signature CreateDirection(datumAxis, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using two :py:class:`NXOpen.Routing.ControlPoint`s.

Signature CreateDirection(startPoint, endPoint, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX7.5.4.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using two :py:class:`NXOpen.Point`s.

Signature CreateDirection(startPoint, endPoint, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using the normal of a NXOpen.Face or the axis of a cylindrical NXOpen.Face.

Signature CreateDirection(face, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using the normal of an NXOpen.IBasePlane.

Signature CreateDirection(plane, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using the normal of a NXOpen.Sketch.

Signature CreateDirection(plane, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using the axis of a NXOpen.Conic.

Signature CreateDirection(conic, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction on a NXOpen.ICurve using a NXOpen.Scalar representing the t parameter.

Signature CreateDirection(icurve, t, option, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction on a NXOpen.ICurve at a NXOpen.Point.

Signature CreateDirection(icurve, point, option, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a Direction normal to the NXOpen.Face using two :py:class:`NXOpen.Scalar`s representing the u and v parameters.

Signature CreateDirection(face, u, v, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction on a NXOpen.Face using two :py:class:`NXOpen.Scalar`s representing the u and v parameters with the option of direction on face.

Signature CreateDirection(face, u, v, absoluteUv, option, sectionDirection, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a sectional NXOpen.Direction on a NXOpen.Face using two NXOpen.Scalar`s representing the u and v parameters and a :py:class:`NXOpen.Scalar representing section angle measured with respect to positive U parameter direction at u and v parameters of the face.

Signature CreateDirection(face, u, v, absoluteUv, sectionAngle, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction on a NXOpen.Face at a NXOpen.Point. The input point could be a point on curve whose parent curve is an edge or a curve on surface feature. Or it could be an extract point whose parent point is a point on face. User can optionally supply a face in which case it is honored instead of looking for the parent face of the input point. In that case input point is projected on the face to find the direction at the projected location.

Signature CreateDirection(atPoint, face, option, sectionDirection, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX8.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using an extract NXOpen.Direction with optional NXOpen.Xform.

Signature CreateDirection(directionExtract, xform, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX3.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction based upon the parameters used to define the point. If the direction can be defined solely by the point then the vector parameter is ignored.

Signature CreateDirection(point, vector)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction normal to a NXOpen.Face at a given NXOpen.Point.

Signature CreateDirection(geomObj, point, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction reverse to that of given NXOpen.Direction.

Signature CreateDirection(direction, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction aligned to that of given NXOpen.Routing.Port.

Signature CreateDirection(port, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction whose direction is given by the cross product of the first input NXOpen.Direction with the second input NXOpen.Direction.

Signature CreateDirection(direction1, direction2, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using an NXOpen.Expression.

Signature CreateDirection(point, exp, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using the normal of a non-planar NXOpen.Face at a NXOpen.Point

Signature CreateDirection(face, point, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

Creates a NXOpen.Direction using the normal of a closest face from NXOpen.ScCollector having NXOpen.Face at a NXOpen.Point. The normal direction will be calculated on the closest face to the given input point out of the given input faces in the collector. The direction will be shown at the specified input point, normal to the location on this face that is nearest to the input point. The input collector must not contain mixed selection of faces and datum plane. Multiple datum planes are not allowed and the faces in collector must be contiguous. Note: This API should be used only when creating a direction in modeling application.

Signature CreateDirection(faces, point, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR nx_masterfem (“Finite Element Modeling”) OR geometric_tol (“GDT”)

-------------------------------------

CreateDirectionOnPointParentCurve

DirectionCollection.CreateDirectionOnPointParentCurve

Creates a NXOpen.Direction on a parent NXOpen.ICurve of a NXOpen.Point.

The input point could be an extract point whose parent point is a point on curve. User can optionally supply a curve in which case it is honored instead of looking for the parent curve of the input point. In that case input point is projected on the curve to find the direction at the projected location.

Signature CreateDirectionOnPointParentCurve(atPoint, curve, option, sense, updateOption)

Parameters:
Returns:

Return type:

NXOpen.Direction

New in version NX8.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)