
.png)
Returns: number of the layer with layerName. If no layer used the layerName, -1 is returned. If there are two layers with this name first layer with the lower layer number is returned. This ffunction will find a layer with the name layerName in the list of layers. Static int layers::findLayer( string layerName)
#LAYOUTEDITOR INT WINDOWS#
This setting will effect the layer controls in the layer dock windows as well as the layers in the layer menu and the display in the drawing window. Static void layers::disableUnusedLayers( drawingField *design)ĭisables all layers not used in the current design.Įnables all layers from layer 0 to the set maxmum displayedLayers. A high number of visible layer controls can reduce the start up time of the LayoutEditor. By this feature the number of displayed layer controls can be increased up to 1024. The maximum layer number displayed in the layer menu and the layout dock window is set. Use the enable feature of the class layer to enable required layers afterwards. Also in the layers dock window no layer will be listed. No more shapes will be displayed in the drawing. Member Function DocumentationĪll layers will be disabled. The class layers can not be used as type, creation of class objects make no sense as it is a complete static class.

Please see also class setup for more details on accessing static classes with Python. The class layers has some static members and accessing static class member variables from Python is a bit different: layers.showAllLayer() Here an example for it: layers::num.name="Layer Number 5" The layers class has only static members, so its members can accessed from C++ macros with the prefix layes. This member is an array in the range of 0 to 1024 of the class layer. Individual layers can be accessed through its member num. Next to the individual layer setup it includes several methods to adjust global layer setting as well as setting for technology properties. This class is the global setup for all layers in all opened layout windows. TechnologyLayerSetParameter(int layer,int parnum,int value) TechnologyLayerGetParameter(int layer,int parnum) TechnologyLayerConductorSpaceing(int layer) MemberĭisableUnusedLayers(drawingField *design)
