PlaneCollection Class¶
-
class
NXOpen.
PlaneCollection
¶ Bases:
object
Represents a collection of
NXOpen.Plane
.Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that
NXOpen.Plane
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. To obtain an instance of this class, refer toNXOpen.BasePart
New in version NX4.0.0.
Methods¶
Method | Description |
---|---|
CreatePlane | Creates an Plane without parameters. |
Method Detail¶
CreatePlane¶
-
PlaneCollection.
CreatePlane
¶ Overloaded method CreatePlane
CreatePlane(origin, normal, updateOption)
CreatePlane(datum)
CreatePlane(method, alternate, origin, normal, expression, flip, percent, geometry)
-------------------------------------
Creates an
Plane
without parameters.Signature
CreatePlane(origin, normal, updateOption)
Parameters: - origin (
NXOpen.Point3d
) – Plane Origin - normal (
NXOpen.Vector3d
) – Plane normal - updateOption (
NXOpen.SmartObjectUpdateOption
) – Smart Object update option
Returns: the plane
Return type: New in version NX4.0.0.
License requirements: None.
-------------------------------------
Creates an
Plane
using a datum plane feature.Signature
CreatePlane(datum)
Parameters: datum ( NXOpen.Features.Feature
) – Datum FeatureReturns: the plane Return type: NXOpen.Plane
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Creates an
Plane
using a datum plane feature.Signature
CreatePlane(method, alternate, origin, normal, expression, flip, percent, geometry)
Parameters: - method (
NXOpen.PlaneTypesMethodType
) – - alternate (
NXOpen.PlaneTypesAlternateType
) – - origin (
NXOpen.Point3d
) – Plane Origin - normal (
NXOpen.Vector3d
) – Plane normal - expression (str) – offset value NOTE: The full Unicode character set is not supported for this parameter.
- flip (bool) – flip direction
- percent (bool) – arclength or percent value
- geometry (list of
NXOpen.NXObject
) –
Returns: the plane
Return type: New in version NX4.0.0.
License requirements: None.
-------------------------------------