

Via layer: distance via edge - conductor at bottom layer If level is set to -2 that layer is a global via.Ĭonductor layer: width, via layer: size of the viaĬonductor layer: spaceing between two shapes, via layer: distance via edge - conductor at top layer Returns: the parameter parnum of the technology parameter of layerĬurrently these parameter are used: parnum: Static int layers::technologyLayerGetParameter(int layer,int parnum) Returns: the conductor spacing, if layer is an conductor layer. Static int layers::technologyLayerConductorSpaceing(int layer) Returns: the conductor size, if layer is an conductor layer. Static int layers::technologyLayerConductorSize(int layer) If type is 2 the layer is a conductor layer. Static void layers::technologyLayerAdd(int layer,int type) The 3D view of all layers is reset and turned off. Returns: the number of technology levels used in the current setup. Use 'number' instead in the python interface. The layer-class can be accessed by this array.

Returns: the number of layers in the LayoutEditor is returned.Įach layer can setup separately via the class layer. false is return, the the file format is not supported. Returns true in case the settings were loaded. Static bool layers::importLayerSettings( string filename) In contrast to the method hideCurrentUnusedLayers this method will search all cells in the design, even if the cell is not used in the current displayed cell. Hide all layers not used in the current design. Static void layers::hideUnusedLayers( drawingField *d) So afterwards any layer not marked as invisible is used in the current displayed cell. Hide all layers not used in the current displayed cell. Static void layers::hideCurrentUnusedLayers( drawingField *d) The layer will still be displayed inthe menu and layer dock window, but marked as invisible. Makes all layer invisible, so afterward no maore all will be displayed inthe drawing area. If no global vias are used in the technology setup -1 is returned. Returns: the layer used for technology level i. 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 STICK DIAGRAM 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)
