NX Open C++ Reference Guide
|
Represents a collection of NXOpen::Drawings::DraftingView s. 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. More... | |
NXOpen::Drawings::BaseView * | CreateBaseView (NXOpen::ModelingView *modelView, const NXOpen::Point3d &drawingReferencePoint, double viewScale, bool inheritClippingBoundry) |
For the selected part adds the base view as well as returns the reference to NXOpen::Drawings::DraftingView . More... | |
NXOpen::Drawings::ProjectedView * | CreateProjectedView (NXOpen::Drawings::DraftingView *parentView, const NXOpen::Point3d &drawingReferencePoint) |
Lets you add a projected view (Orthoraphic View) for the selected parent view. More... | |
NXOpen::Drawings::ProjectedView * | CreateProjectedView (NXOpen::Drawings::DraftingView *parentView, const NXOpen::Point3d &drawingReferencePoint, NXOpen::Direction *hingeLine) |
Lets you add a projected view (A View) for the selected parent view. More... | |
NXOpen::Drawings::ProjectedView * | CreateProjectedView (NXOpen::Drawings::DraftingView *parentView, const NXOpen::Point3d &drawingReferencePoint, bool reverseDirection) |
Lets you add a projected view (A View) for the selected parent view. More... | |
void | DeleteView (NXOpen::Drawings::DraftingView *currentView) |
Lets you delete the view Created in NX5.0.0. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Drawings::DraftingView * | FindObject (const NXString &journalIdentifier) |
Finds the NXOpen::Drawings::DraftingView with the given identifier as recorded in a journal. More... | |
NXOpen::Drawings::DraftingView * | FindObject (const char *journalIdentifier) |
Finds the NXOpen::Drawings::DraftingView with the given identifier as recorded in a journal. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of NXOpen::Drawings::DraftingView s.
Use NXOpen::Drawings::DrawingSheet::SheetDraftingViews to get the instance of this class.
Created in NX3.0.0.
iterator NXOpen::Drawings::SheetDraftingViewCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Drawings::BaseView* NXOpen::Drawings::SheetDraftingViewCollection::CreateBaseView | ( | NXOpen::ModelingView * | modelView, |
const NXOpen::Point3d & | drawingReferencePoint, | ||
double | viewScale, | ||
bool | inheritClippingBoundry | ||
) |
For the selected part adds the base view as well as returns the reference to NXOpen::Drawings::DraftingView .
An imported model view (base view) determines orthographic space on the drawing and is used as a reference to establish the alignment and scale for all subsequent projected views.
modelView | Modeling View to be import as base view. |
drawingReferencePoint | view origin(location) |
viewScale | view scale |
inheritClippingBoundry | if true inherit xyclip |
NXOpen::Drawings::ProjectedView* NXOpen::Drawings::SheetDraftingViewCollection::CreateProjectedView | ( | NXOpen::Drawings::DraftingView * | parentView, |
const NXOpen::Point3d & | drawingReferencePoint | ||
) |
Lets you add a projected view (Orthoraphic View) for the selected parent view.
parentView | Selected Parent view |
drawingReferencePoint | view origin(location) |
NXOpen::Drawings::ProjectedView* NXOpen::Drawings::SheetDraftingViewCollection::CreateProjectedView | ( | NXOpen::Drawings::DraftingView * | parentView, |
const NXOpen::Point3d & | drawingReferencePoint, | ||
NXOpen::Direction * | hingeLine | ||
) |
Lets you add a projected view (A View) for the selected parent view.
parentView | Selected Parent view |
drawingReferencePoint | view origin(location) |
hingeLine | hinge line vector |
NXOpen::Drawings::ProjectedView* NXOpen::Drawings::SheetDraftingViewCollection::CreateProjectedView | ( | NXOpen::Drawings::DraftingView * | parentView, |
const NXOpen::Point3d & | drawingReferencePoint, | ||
bool | reverseDirection | ||
) |
Lets you add a projected view (A View) for the selected parent view.
parentView | Selected Parent view |
drawingReferencePoint | view origin(location) |
reverseDirection | reverse direction of projection |
void NXOpen::Drawings::SheetDraftingViewCollection::DeleteView | ( | NXOpen::Drawings::DraftingView * | currentView | ) |
Lets you delete the view
Created in NX5.0.0.
License requirements : None
currentView | View to be deleted |
iterator NXOpen::Drawings::SheetDraftingViewCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Drawings::DraftingView* NXOpen::Drawings::SheetDraftingViewCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the NXOpen::Drawings::DraftingView 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 | Identifier of the drafting view to be found |
NXOpen::Drawings::DraftingView* NXOpen::Drawings::SheetDraftingViewCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the NXOpen::Drawings::DraftingView 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 | Identifier of the drafting view to be found |
tag_t NXOpen::Drawings::SheetDraftingViewCollection::Tag | ( | ) | const |
Returns the tag of this object.