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

Layer Layer.hxx cadex/Drawing/Layer.hxx. More...

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

Public Member Functions

 __init__ (self, *args)
 Constructor.
 
 SetName (self, theName)
 Sets a layer name.
 
 Name (self)
 Returns a layer name.
 
 SetUuid (self, theUuid)
 
 Uuid (self)
 
 IsVisible (self)
 Returns true if the drawing layer is visible.
 
 SetIsVisible (self, theIsVisible)
 Sets Layer visibility status.
 
 Add (self, theElement)
 Adds element to the drawing layer.
 
 Remove (self, theElement)
 Removes element from the drawing layer.
 
 Contains (self, theElement)
 Returns true if element has already been added to the drawing layer.
 
 Accept (self, theVisitor)
 Accepts the element visitor.
 
- 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

Layer Layer.hxx cadex/Drawing/Layer.hxx.

Provides logical grouping of Element objects.

Layers are commonly used to group objects in the drawing by function (e.g. walls, furniture, etc.), but in principle they can represent any type of virtual grouping. All objects in a layer share appearance, can be shown and hidden together. A drawing element can only belong to one layer.

The drawing layer holds an IsVisible() attribute, which is true by default.

Constructor & Destructor Documentation

◆ __init__()

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

Constructor.

Creates not initialized object, for which IsNull() returns true.

Reimplemented from manufacturingtoolkit.CadExMTK.BaseObject.


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