View View.hxx cadex/Drawing/View.hxx. More...
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) | |
| IsEqual (self, theObj) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
Static Public Member Functions | |
| CompareType (theObject) | |
| Cast (theBase) | |
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.
| manufacturingtoolkit.CadExMTK.Drawing_View.__init__ | ( | self, | |
| * | args ) |
Constructor.
Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.