NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.PlaneCollection Class Reference

Represents a collection of NXOpen.Plane . More...

Inheritance diagram for NXOpen.PlaneCollection:

Public Member Functions

NXOpen.Plane[] ToArray ()
 Returns an array of NXOpen.Plane objects. More...
 
unsafe NXOpen.Plane CreatePlane (NXOpen.Point3d origin, NXOpen.Vector3d normal, NXOpen.SmartObject.UpdateOption updateOption)
 Creates a Plane without parameters. More...
 
unsafe NXOpen.Plane CreatePlane (NXOpen.Features.Feature datum)
 Creates a Plane using a datum plane feature. More...
 
unsafe NXOpen.Plane CreatePlane (NXOpen.PlaneTypes.MethodType method, NXOpen.PlaneTypes.AlternateType alternate, NXOpen.Point3d origin, NXOpen.Vector3d normal, string expression, bool flip, bool percent, NXOpen.NXObject[] geometry)
 Creates a Plane using a datum plane feature. More...
 
unsafe NXOpen.Plane CreateFixedPlane (NXOpen.Point3d origin, NXOpen.Matrix3x3 matrix)
 Creates a Plane without parameters. More...
 
unsafe NXOpen.Plane CreateFixedPlane (NXOpen.Point3d origin, NXOpen.Matrix3x3 matrix, bool show)
 Creates a Plane without parameters. More...
 
unsafe NXOpen.Plane CreateFixedTypePlane (NXOpen.Point3d origin, NXOpen.Matrix3x3 matrix, NXOpen.SmartObject.UpdateOption updateOption)
 Creates a Plane , it is still a smart plane but has fixed plane type. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

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.

To obtain an instance of this class, refer to NXOpen.BasePart

Created in NX4.0.0

Member Function Documentation

unsafe NXOpen.Plane NXOpen.PlaneCollection.CreateFixedPlane ( NXOpen.Point3d  origin,
NXOpen.Matrix3x3  matrix 
)

Creates a Plane without parameters.

Created in NX11.0.0

License requirements: None.

Parameters
originPlane Origin
matrixPlane Matrix
Returns
the plane
unsafe NXOpen.Plane NXOpen.PlaneCollection.CreateFixedPlane ( NXOpen.Point3d  origin,
NXOpen.Matrix3x3  matrix,
bool  show 
)

Creates a Plane without parameters.

Has an additional input flag to control if the plane is visible or not after creation.

Created in NX11.0.0

License requirements: None.

Parameters
originPlane Origin
matrixPlane Matrix
showControl whether to show the plane object
Returns
the plane
unsafe NXOpen.Plane NXOpen.PlaneCollection.CreateFixedTypePlane ( NXOpen.Point3d  origin,
NXOpen.Matrix3x3  matrix,
NXOpen.SmartObject.UpdateOption  updateOption 
)

Creates a Plane , it is still a smart plane but has fixed plane type.

Created in NX11.0.1

License requirements: None.

Parameters
originPlane Origin
matrixPlane Matrix
updateOptionSmart Object update option
Returns
the plane
unsafe NXOpen.Plane NXOpen.PlaneCollection.CreatePlane ( NXOpen.Point3d  origin,
NXOpen.Vector3d  normal,
NXOpen.SmartObject.UpdateOption  updateOption 
)

Creates a Plane without parameters.

Created in NX4.0.0

License requirements: None.

Parameters
originPlane Origin
normalPlane normal
updateOptionSmart Object update option
Returns
the plane
unsafe NXOpen.Plane NXOpen.PlaneCollection.CreatePlane ( NXOpen.Features.Feature  datum)

Creates a Plane using a datum plane feature.

Created in NX4.0.0

License requirements: None.

Parameters
datumDatum Feature
Returns
the plane
unsafe NXOpen.Plane NXOpen.PlaneCollection.CreatePlane ( NXOpen.PlaneTypes.MethodType  method,
NXOpen.PlaneTypes.AlternateType  alternate,
NXOpen.Point3d  origin,
NXOpen.Vector3d  normal,
string  expression,
bool  flip,
bool  percent,
NXOpen.NXObject[]  geometry 
)

Creates a Plane using a datum plane feature.

Created in NX4.0.0

License requirements: None.

Parameters
method
alternate
originPlane Origin
normalPlane normal
expressionoffset value
flipflip direction
percentarclength or percent value
geometry
Returns
the plane
override int NXOpen.PlaneCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

NXOpen.Plane [] NXOpen.PlaneCollection.ToArray ( )

Returns an array of NXOpen.Plane objects.

Property Documentation

Tag NXOpen.PlaneCollection.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.