NX Open C++ Reference Guide
Classes | Public Member Functions | List of all members
NXOpen::LineCollection Class Reference

Represents a collection of lines. More...

Inheritance diagram for NXOpen::LineCollection:
NXOpen::TaggedObjectCollection

Classes

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

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element. More...
 
NXOpen::LineCreateFaceAxis (NXOpen::IParameterizedSurface *face, NXOpen::SmartObject::UpdateOption updateOption)
 Create a Axis line base on a Cylider, Cone, Torus or Revolve face. More...
 
NXOpen::LineCreateFaceAxisNoExtension (NXOpen::IParameterizedSurface *face, NXOpen::SmartObject::UpdateOption updateOption)
 Create a Axis line base on a Cylider, Cone, Torus or Revolve face. More...
 
NXOpen::LineCreateFaceAxisNoParentLoadRequired (NXOpen::IParameterizedSurface *face, NXOpen::SmartObject::UpdateOption updateOption)
 Create a Axis line base on a Cylider, Cone, Torus or Revolve face. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
NXOpen::LineFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::Line with the given identifier as recorded in a journal. More...
 
NXOpen::LineFindObject (const char *journalIdentifier)
 Finds the NXOpen::Line with the given identifier as recorded in a journal. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of lines.


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

Created in NX3.0.0.

Member Function Documentation

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.

Returns

Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
Parameters
faceface
updateOptionupdate 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.

Returns

Created in NX7.5.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
Parameters
faceface
updateOptionupdate 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.

Returns

Created in NX6.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
Parameters
faceface
updateOptionupdate option
iterator NXOpen::LineCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::Line* NXOpen::LineCollection::FindObject ( const NXString journalIdentifier)

Finds the NXOpen::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.

Returns

Created in NX3.0.0.

License requirements : None
Parameters
journalIdentifierJournal identifier of the line
NXOpen::Line* NXOpen::LineCollection::FindObject ( const char *  journalIdentifier)

Finds the NXOpen::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.

Returns

Created in NX3.0.0.

License requirements : None
Parameters
journalIdentifierJournal identifier of the line
tag_t NXOpen::LineCollection::Tag ( ) const

Returns the tag of this object.


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