AxisCollection Class¶
-
class
NXOpen.
AxisCollection
¶ Bases:
object
Represents a collection of
NXOpen.Axis
.Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that
NXOpen.Axis
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.1.
Methods¶
Method | Description |
---|---|
CreateAxis | Creates an NXOpen.Axis from a NXOpen.Point and NXOpen.Direction . |
Method Detail¶
CreateAxis¶
-
AxisCollection.
CreateAxis
¶ Overloaded method CreateAxis
CreateAxis(point, direction, update)
CreateAxis(point, direction, update)
CreateAxis(axis, xform, update)
-------------------------------------
Creates an
NXOpen.Axis
from aNXOpen.Point
andNXOpen.Direction
.Signature
CreateAxis(point, direction, update)
Parameters: - point (
NXOpen.Point
) – The point that defines the axis - direction (
NXOpen.Direction
) – The vector that defines the axis - update (
NXOpen.SmartObjectUpdateOption
) –SmartObjectUpdateOption.WithinModeling
is the only valid option at this time. This can only be used by feature update in modeling.
Returns: the axis
Return type: New in version NX3.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
-------------------------------------
Create a non-associative axis
Signature
CreateAxis(point, direction, update)
Parameters: - point (
NXOpen.Point3d
) – The point that defines the axis - direction (
NXOpen.Vector3d
) – The vector that defines the axis - update (
NXOpen.SmartObjectUpdateOption
) –SmartObjectUpdateOption.WithinModeling
is the only valid option at this time. This can only be used by feature update in modeling.
Returns: the axis
Return type: New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
-------------------------------------
Creates a
NXOpen.Axis
using an extractNXOpen.Axis
with optionalNXOpen.Xform
.Signature
CreateAxis(axis, xform, update)
Parameters: - axis (
NXOpen.Axis
) – - xform (
NXOpen.Xform
) – The OptionalNXOpen.Xform
- update (
NXOpen.SmartObjectUpdateOption
) –
Returns: Return type: New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
-------------------------------------