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

Represents a collection of datum geometry. More...

Inheritance diagram for NXOpen.DatumCollection:

Public Member Functions

NXOpen.DisplayableObject[] ToArray ()
 Returns an array of NXOpen.DisplayableObject objects. More...
 
unsafe NXOpen.DatumPlane CreateFixedDatumPlane (NXOpen.Point3d origin, NXOpen.Matrix3x3 orientation)
 Creates a fixed datum plane More...
 
unsafe NXOpen.DatumAxis CreateFixedDatumAxis (NXOpen.Point3d start, NXOpen.Point3d end)
 Creates a fixed datum axis More...
 
unsafe NXOpen.DisplayableObject FindObject (string journalIdentifier)
 Finds the datum with the given identifier as recorded in a journal. 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 datum geometry.

Datum geometry includes datum planes, datum axes, datum coordinate systems, and datum points

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

Created in NX3.0.0

Member Function Documentation

unsafe NXOpen.DatumAxis NXOpen.DatumCollection.CreateFixedDatumAxis ( NXOpen.Point3d  start,
NXOpen.Point3d  end 
)

Creates a fixed datum axis

Note: start and end only specify the origin and start direction of the datum axis. The datum axis that is created may have a length longer than what is specified by start and end. To set the start and end points, DatumAxis.SetEndPoints may be used

Created in NX3.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT") OR insp_programming ("INSPECTION PROGRAMMING")

Parameters
startStart point
endEnd point
Returns
The datum axis that is created
unsafe NXOpen.DatumPlane NXOpen.DatumCollection.CreateFixedDatumPlane ( NXOpen.Point3d  origin,
NXOpen.Matrix3x3  orientation 
)

Creates a fixed datum plane

Created in NX3.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR insp_programming ("INSPECTION PROGRAMMING")

Parameters
originOrigin of the datum plane
orientationOrientation matrix of the datum plane. Must be orthonormal
Returns
The datum plane that is created
override int NXOpen.DatumCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

unsafe NXOpen.DisplayableObject NXOpen.DatumCollection.FindObject ( string  journalIdentifier)

Finds the datum with the given identifier as recorded in a journal.

An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

An exception will be thrown if no object can be found with the given journal identifier.

Created in NX3.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT") OR insp_programming ("INSPECTION PROGRAMMING")

Parameters
journalIdentifierIdentifier of the datum you want
Returns
Datum with this identifier
NXOpen.DisplayableObject [] NXOpen.DatumCollection.ToArray ( )

Returns an array of NXOpen.DisplayableObject objects.

Property Documentation

Tag NXOpen.DatumCollection.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.