DraftingDrawingSheetCollection Class

class NXOpen.Drawings.DraftingDrawingSheetCollection

Bases: object

Represents a collection of :py:class:`NXOpen.Drawings.DraftingDrawingSheet`s.

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

New in version NX12.0.0.

Methods

Method Description
CreateDraftingDrawingSheetBuilder Creates a NXOpen.Drawings.DraftingDrawingSheetBuilder
FindObject Finds the NXOpen.Drawings.DraftingDrawingSheet with the given identifier as recorded in a journal.
InsertSheet Inserts a drafting drawing sheet into a part.

Method Detail

CreateDraftingDrawingSheetBuilder

DraftingDrawingSheetCollection.CreateDraftingDrawingSheetBuilder

Creates a NXOpen.Drawings.DraftingDrawingSheetBuilder

Signature CreateDraftingDrawingSheetBuilder(draftingDrawingSheet)

Parameters:draftingDrawingSheet (NXOpen.Drawings.DraftingDrawingSheet) – reserved for future use, set to 0
Returns:the drafting drawing sheet builder
Return type:NXOpen.Drawings.DraftingDrawingSheetBuilder

New in version NX12.0.0.

License requirements: drafting (“DRAFTING”)

FindObject

DraftingDrawingSheetCollection.FindObject

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

Signature FindObject(journalIdentifier)

Parameters:journalIdentifier (str) – Identifier of the Drafting drawing sheet you want
Returns:Drafting drawing sheet with this identifier
Return type:NXOpen.Drawings.DraftingDrawingSheet

New in version NX12.0.0.

License requirements: drafting (“DRAFTING”)

InsertSheet

DraftingDrawingSheetCollection.InsertSheet

Overloaded method InsertSheet

  • InsertSheet(drawingName, drawingUnits, width, height, numerator, denominator, projectionAngle)
  • InsertSheet(drawingName, sheetSize, numerator, denominator, projectionAngle)

-------------------------------------

Inserts a drafting drawing sheet into a part.

Signature InsertSheet(drawingName, drawingUnits, width, height, numerator, denominator, projectionAngle)

Parameters:
Returns:

Return type:

NXOpen.Drawings.DrawingSheet

New in version NX12.0.0.

License requirements: drafting (“DRAFTING”)

-------------------------------------

Inserts a sheet into a part. The drawings units will be inferred from the standard size.

Signature InsertSheet(drawingName, sheetSize, numerator, denominator, projectionAngle)

Parameters:
Returns:

Return type:

NXOpen.Drawings.DrawingSheet

New in version NX12.0.0.

License requirements: drafting (“DRAFTING”)

-------------------------------------