Drawing Drawing.hxx cadex/Drawing/Drawing.hxx. More...
Public Member Functions | |
__init__ (self, *args) | |
Overload 1: Constructor. | |
NumberOfSheets (self) | |
Returns the number of sheets in the drawing. | |
AddSheet (self, theSheet) | |
Adds a sheet to the drawing. | |
NumberOfLayers (self) | |
Returns the number of layers in the drawing. | |
AddLayer (self, theLayer) | |
Adds a layer to the drawing. | |
![]() | |
Id (self) | |
Return unique identifier of public object. | |
IsNull (self) | |
Static Public Member Functions | |
CompareType (theObject) | |
Cast (theBase) | |
Drawing Drawing.hxx cadex/Drawing/Drawing.hxx.
Represents a single 2D drawing of a model.
Encapsulates sheets, views and layers with various 2D geometry. An object of this class is a counterpart to the Model class, meaning that it's meant to represesnt all drawing-related information for a single 3D model. In case the model is entirely 2D, an object corresponds to a single input file.
manufacturingtoolkit.CadExMTK.Drawing_Drawing.__init__ | ( | self, | |
* | args ) |
Overload 1: Constructor.
Creates an empty drawing. |
Overload 2: Constructor. Creates a drawing with a single sheet.
Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.