NX Open C++ Reference Guide
|
Represents a collection of lines. More...
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::Line * | CreateFaceAxis (NXOpen::IParameterizedSurface *face, NXOpen::SmartObject::UpdateOption updateOption) |
Create a Axis line base on a Cylider, Cone, Torus or Revolve face. | |
NXOpen::Line * | CreateFaceAxisNoExtension (NXOpen::IParameterizedSurface *face, NXOpen::SmartObject::UpdateOption updateOption) |
Create a Axis line base on a Cylider, Cone, Torus or Revolve face. | |
NXOpen::Line * | CreateFaceAxisNoParentLoadRequired (NXOpen::IParameterizedSurface *face, NXOpen::SmartObject::UpdateOption updateOption) |
Create a Axis line base on a Cylider, Cone, Torus or Revolve face. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::Line * | FindObject (const NXString &journalIdentifier) |
Finds the Line with the given identifier as recorded in a journal. | |
NXOpen::Line * | FindObject (const char *journalIdentifier) |
Finds the Line with the given identifier as recorded in a journal. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a collection of lines.
To obtain an instance of this class, refer to BasePart
Created in NX3.0.0.
iterator NXOpen::LineCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Line* NXOpen::LineCollection::CreateFaceAxis | ( | NXOpen::IParameterizedSurface * | face, |
NXOpen::SmartObject::UpdateOption | updateOption | ||
) |
Create a Axis line base on a Cylider, Cone, Torus or Revolve face.
face | face |
updateOption | update option |
NXOpen::Line* NXOpen::LineCollection::CreateFaceAxisNoExtension | ( | NXOpen::IParameterizedSurface * | face, |
NXOpen::SmartObject::UpdateOption | updateOption | ||
) |
Create a Axis line base on a Cylider, Cone, Torus or Revolve face.
Do not extend the line. @return
Created in NX7.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
face | face |
updateOption | update option |
NXOpen::Line* NXOpen::LineCollection::CreateFaceAxisNoParentLoadRequired | ( | NXOpen::IParameterizedSurface * | face, |
NXOpen::SmartObject::UpdateOption | updateOption | ||
) |
Create a Axis line base on a Cylider, Cone, Torus or Revolve face.
If the parent (source) part is not the same part that the axis is created in, the parent part is not fully loaded during the creation.
face | face |
updateOption | update option |
iterator NXOpen::LineCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Line* NXOpen::LineCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the Line 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.
journalIdentifier | Journal identifier of the line |
NXOpen::Line* NXOpen::LineCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the Line 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.
journalIdentifier | Journal identifier of the line |
tag_t NXOpen::LineCollection::Tag | ( | ) | const |
Returns the tag of this object.