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

View View.hxx cadex/Drawing/View.hxx. More...

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

Public Member Functions

 __init__ (self, *args)
 Constructor.
 
 SetUuid (self, theUuid)
 
 Uuid (self)
 
 Position (self)
 Returns the position of the view in the owning sheet.
 
 SetPosition (self, thePosition)
 
 Scale (self)
 Returns the scale of the view.
 
 SetScale (self, theScale)
 Sets the scale of the view.
 
 NumberOfElements (self)
 Returns the number of elements in the view.
 
 Add (self, theElement)
 Adds an element to the view.
 
 Accept (self, theVisitor)
 
- 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)
 

Detailed Description

View View.hxx cadex/Drawing/View.hxx.

Represents a view on a drawing sheet.

Usually a view is a logical portion of the sheet, containing one of the literal views of the model (e.g. top view, isometric view, cutaway view). Following this idea, the view is defined by a position in the sheet and a scale (real-world model dimensions vs on-paper dimensions).

Generally an object of this class can contain any collection of drawing elements (i.e. 2D geometry), but it's expected that these elements together form a logically self-contained group.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Drawing_View.__init__ ( self,
* args )

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.


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