Sheet Sheet.hxx cadex/Drawing/Sheet.hxx. More...
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. | |
![]() | |
Id (self) | |
Return unique identifier of public object. | |
IsNull (self) | |
Static Public Member Functions | |
CompareType (theObject) | |
Cast (theBase) | |
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.
manufacturingtoolkit.CadExMTK.Drawing_Sheet.__init__ | ( | self | ) |
Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.
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.
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.