Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Drawing_Sheet Class Reference

Sheet Sheet.hxx cadex/Drawing/Sheet.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Drawing_Sheet:
manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self)
 Constructor.
 
 SetUuid (self, theUuid)
 
 Uuid (self)
 
 Width (self)
 Returns the width of the sheet.
 
 Height (self)
 Returns the height of the sheet.
 
 PaperSize (self)
 Returns the standard paper size of the sheet, if one was defined.
 
 Orientation (self)
 Returns the orientation of the sheet.
 
 SetStandardSheetSize (self, thePaperSize, theOrientation)
 
 SetCustomSheetSize (self, theWidth, theHeight)
 Sets the custom sheet size with specified dimensions.
 
 NumberOfViews (self)
 Returns the number of child views.
 
 AddView (self, theView)
 Adds a view to the sheet.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Static Public Attributes

 PaperSizeType_UnknownPaperSize = _CadExMTK.Drawing_Sheet_PaperSizeType_UnknownPaperSize
 
 PaperSizeType_A0 = _CadExMTK.Drawing_Sheet_PaperSizeType_A0
 
 PaperSizeType_A1 = _CadExMTK.Drawing_Sheet_PaperSizeType_A1
 
 PaperSizeType_A2 = _CadExMTK.Drawing_Sheet_PaperSizeType_A2
 
 PaperSizeType_A3 = _CadExMTK.Drawing_Sheet_PaperSizeType_A3
 
 PaperSizeType_A4 = _CadExMTK.Drawing_Sheet_PaperSizeType_A4
 
 PaperSizeType_A = _CadExMTK.Drawing_Sheet_PaperSizeType_A
 
 PaperSizeType_B = _CadExMTK.Drawing_Sheet_PaperSizeType_B
 
 PaperSizeType_C = _CadExMTK.Drawing_Sheet_PaperSizeType_C
 
 PaperSizeType_D = _CadExMTK.Drawing_Sheet_PaperSizeType_D
 
 PaperSizeType_E = _CadExMTK.Drawing_Sheet_PaperSizeType_E
 
 PaperSizeType_UserDefinedPaperSize = _CadExMTK.Drawing_Sheet_PaperSizeType_UserDefinedPaperSize
 
 OrientationType_Landscape = _CadExMTK.Drawing_Sheet_OrientationType_Landscape
 
 OrientationType_Portrait = _CadExMTK.Drawing_Sheet_OrientationType_Portrait
 

Detailed Description

Sheet Sheet.hxx cadex/Drawing/Sheet.hxx.

Represents a single sheet of a model drawing.

An object of this class mimics a physical sheet of paper, hence the size and orientation settings.

Normally a drawing sheet would have associated metadata, such as default scale, title block, etc. This information is represented with objects of DrawingView class.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Drawing_Sheet.__init__ ( self)

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.

Member Function Documentation

◆ Height()

manufacturingtoolkit.CadExMTK.Drawing_Sheet.Height ( self)

Returns the height of the sheet.

The width and height of a sheet with a standard size depend on the orientation. Changing the orientation swaps width and height.

◆ Width()

manufacturingtoolkit.CadExMTK.Drawing_Sheet.Width ( self)

Returns the width of the sheet.

The width and height of a sheet with a standard size depend on the orientation. Changing the orientation swaps width and height.


The documentation for this class was generated from the following file:
  • CadExMTK.py