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

Represents a collection of polylines. More...

Inheritance diagram for NXOpen::PolylineCollection:
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::PolylineCreateThroughPoints (NXOpen::SmartObject::UpdateOption updateOption, const std::vector< NXOpen::Point * > &points, bool isClosed)
 Create a polyline from points. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
NXOpen::PolylineFindObject (const NXString &journalIdentifier)
 Finds the Polyline with the given identifier as recorded in a journal. More...
 
NXOpen::PolylineFindObject (const char *journalIdentifier)
 Finds the Polyline 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 polylines.


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

Created in NX10.0.0.

Member Function Documentation

iterator NXOpen::PolylineCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::Polyline* NXOpen::PolylineCollection::CreateThroughPoints ( NXOpen::SmartObject::UpdateOption  updateOption,
const std::vector< NXOpen::Point * > &  points,
bool  isClosed 
)

Create a polyline from points.

Returns

Created in NX10.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
Parameters
updateOptionupdateoption
pointspoints
isClosedisclosed
iterator NXOpen::PolylineCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::Polyline* NXOpen::PolylineCollection::FindObject ( const NXString journalIdentifier)

Finds the Polyline 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 NX10.0.0.

License requirements : None
Parameters
journalIdentifierJournal identifier of the polyline
NXOpen::Polyline* NXOpen::PolylineCollection::FindObject ( const char *  journalIdentifier)

Finds the Polyline 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 NX10.0.0.

License requirements : None
Parameters
journalIdentifierJournal identifier of the polyline
tag_t NXOpen::PolylineCollection::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.