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

Represents a collection of drawing sheets. More...

Inheritance diagram for NXOpen::Drawings::DrawingSheetCollection:
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::Drawings::DrawingSheetCurrentDrawingSheet ()
 Returns the currently opened drawing sheet. More...
 
NXOpen::Drawings::DrawingSheetBuilderDrawingSheetBuilder (NXOpen::Drawings::DrawingSheet *sheet)
 Create a drawing Sheet builder. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
NXOpen::Drawings::DrawingSheetFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::Drawings::DrawingSheet with the given identifier as recorded in a journal. More...
 
NXOpen::Drawings::DrawingSheetFindObject (const char *journalIdentifier)
 Finds the NXOpen::Drawings::DrawingSheet with the given identifier as recorded in a journal. More...
 
NXOpen::Drawings::DrawingSheetInsertSheet (const NXString &drawingName, NXOpen::Drawings::DrawingSheet::Unit drawingUnits, double width, double height, double numerator, double denominator, NXOpen::Drawings::DrawingSheet::ProjectionAngleType projectionAngle)
 Inserts a sheet into a part. More...
 
NXOpen::Drawings::DrawingSheetInsertSheet (const char *drawingName, NXOpen::Drawings::DrawingSheet::Unit drawingUnits, double width, double height, double numerator, double denominator, NXOpen::Drawings::DrawingSheet::ProjectionAngleType projectionAngle)
 Inserts a sheet into a part. More...
 
NXOpen::Drawings::DrawingSheetInsertSheet (const NXString &drawingName, NXOpen::Drawings::DrawingSheet::StandardSheetSize sheetSize, double numerator, double denominator, NXOpen::Drawings::DrawingSheet::ProjectionAngleType projectionAngle)
 Inserts a sheet into a part. More...
 
NXOpen::Drawings::DrawingSheetInsertSheet (const char *drawingName, NXOpen::Drawings::DrawingSheet::StandardSheetSize sheetSize, double numerator, double denominator, NXOpen::Drawings::DrawingSheet::ProjectionAngleType projectionAngle)
 Inserts a sheet into a part. More...
 
void RefreshCurrentSheet ()
 Refresh the current Sheet
Created in NX9.0.0. More...
 
NXOpen::Drawings::SheetTemplateManagerSheetTemplates ()
 Returns the Sheet Template Manager for part
Created in NX3.0.0. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of drawing sheets.


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

Created in NX3.0.0.

Member Function Documentation

iterator NXOpen::Drawings::DrawingSheetCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::CurrentDrawingSheet ( )

Returns the currently opened drawing sheet.

This will return NULL if no drawing sheet is opened.
Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

NXOpen::Drawings::DrawingSheetBuilder* NXOpen::Drawings::DrawingSheetCollection::DrawingSheetBuilder ( NXOpen::Drawings::DrawingSheet sheet)

Create a drawing Sheet builder.

Returns
the drawing sheet Builder with this identifier
Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::CreateDraftingDrawingSheetBuilder instead.


Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Parameters
sheetthe drawing sheet
iterator NXOpen::Drawings::DrawingSheetCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::FindObject ( const NXString journalIdentifier)

Finds the NXOpen::Drawings::DrawingSheet 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
Drawing sheet with this identifier
Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::FindObject instead.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters
journalIdentifierIdentifier of the drawing sheet you want
NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::FindObject ( const char *  journalIdentifier)

Finds the NXOpen::Drawings::DrawingSheet 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
Drawing sheet with this identifier
Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::FindObject instead.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters
journalIdentifierIdentifier of the drawing sheet you want
NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::InsertSheet ( const NXString drawingName,
NXOpen::Drawings::DrawingSheet::Unit  drawingUnits,
double  width,
double  height,
double  numerator,
double  denominator,
NXOpen::Drawings::DrawingSheet::ProjectionAngleType  projectionAngle 
)

Inserts a sheet into a part.

Returns

Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::InsertSheet instead.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters
drawingNameDrawing name
drawingUnitsUnit of sheet size
widthWidth of drawing
heightHeight of drawing
numeratorNumerator of the scale of drawing
denominatorDenominator of the scale of drawing
projectionAngleProjection angle
NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::InsertSheet ( const char *  drawingName,
NXOpen::Drawings::DrawingSheet::Unit  drawingUnits,
double  width,
double  height,
double  numerator,
double  denominator,
NXOpen::Drawings::DrawingSheet::ProjectionAngleType  projectionAngle 
)

Inserts a sheet into a part.

Returns

Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::InsertSheet instead.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters
drawingNameDrawing name
drawingUnitsUnit of sheet size
widthWidth of drawing
heightHeight of drawing
numeratorNumerator of the scale of drawing
denominatorDenominator of the scale of drawing
projectionAngleProjection angle
NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::InsertSheet ( const NXString drawingName,
NXOpen::Drawings::DrawingSheet::StandardSheetSize  sheetSize,
double  numerator,
double  denominator,
NXOpen::Drawings::DrawingSheet::ProjectionAngleType  projectionAngle 
)

Inserts a sheet into a part.

The drawings units will be inferred from the standard size.

Returns

Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::InsertSheet instead.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters
drawingNameDrawing name
sheetSizeSheet Size
numeratorNumerator of the scale of drawing
denominatorDenominator of the scale of drawing
projectionAngleProjection angle
NXOpen::Drawings::DrawingSheet* NXOpen::Drawings::DrawingSheetCollection::InsertSheet ( const char *  drawingName,
NXOpen::Drawings::DrawingSheet::StandardSheetSize  sheetSize,
double  numerator,
double  denominator,
NXOpen::Drawings::DrawingSheet::ProjectionAngleType  projectionAngle 
)

Inserts a sheet into a part.

The drawings units will be inferred from the standard size.

Returns

Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Drawings::DraftingDrawingSheetCollection::InsertSheet instead.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters
drawingNameDrawing name
sheetSizeSheet Size
numeratorNumerator of the scale of drawing
denominatorDenominator of the scale of drawing
projectionAngleProjection angle
void NXOpen::Drawings::DrawingSheetCollection::RefreshCurrentSheet ( )

Refresh the current Sheet
Created in NX9.0.0.



License requirements : drafting ("DRAFTING")

NXOpen::Drawings::SheetTemplateManager* NXOpen::Drawings::DrawingSheetCollection::SheetTemplates ( )

Returns the Sheet Template Manager for part
Created in NX3.0.0.


tag_t NXOpen::Drawings::DrawingSheetCollection::Tag ( ) const

Returns the tag of this object.


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