NX Open C++ Reference Guide
Classes | Public Member Functions
NXOpen::DatumCollection Class Reference

Represents a collection of datum geometry. More...

Inheritance diagram for NXOpen::DatumCollection:
NXOpen::TaggedObjectCollection

List of all members.

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element.
NXOpen::DatumAxisCreateFixedDatumAxis (const NXOpen::Point3d &start, const NXOpen::Point3d &end)
 Creates a fixed datum axis.
NXOpen::DatumPlaneCreateFixedDatumPlane (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &orientation)
 Creates a fixed datum plane.
iterator end ()
 Returns an iterator addressing one past the last element.
NXOpen::DisplayableObjectFindObject (const NXString &journalIdentifier)
 Finds the datum with the given identifier as recorded in a journal.
tag_t Tag () const
 Returns the tag of this object.

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 BasePart

Created in NX3.0.0.


Member Function Documentation

Returns an iterator addressing the first element.

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

Returns:
The datum axis that is created
Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
Parameters:
startStart point
endEnd point

Creates a fixed datum plane.

Returns:
The datum plane that is created
Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
Parameters:
originOrigin of the datum plane
orientationOrientation matrix of the datum plane. Must be orthonormal

Returns an iterator addressing one past the last element.

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.

Returns:
Datum with this identifier
Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
Parameters:
journalIdentifierIdentifier of the datum you want

Returns the tag of this object.


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