NXOpen .NET Reference
12.0.0
|
Represents a collection of datum geometry. More...
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... | |
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
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")
start | Start point |
end | End point |
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")
origin | Origin of the datum plane |
orientation | Orientation matrix of the datum plane. Must be orthonormal |
|
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")
journalIdentifier | Identifier of the datum you want |
NXOpen.DisplayableObject [] NXOpen.DatumCollection.ToArray | ( | ) |
Returns an array of NXOpen.DisplayableObject objects.
|
get |
Returns the tag of this object.