Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

drdOptionUpdateLayer

drdOptionUpdateLayer( 
l_layers
g_state
) 
=> t / nil

Description

Sets the default state for specified layers in the configuration file for the Filters tab of the DRD Options form. If the function is run without a maskLayout cellview open, the settings are discarded.

You can save settings from the DRD Options form to a configuration file or, conversely, load the settings from the configuration file to the form. For more information, see DRD Configuration File in Virtuoso Design Rule Driven Editing User Guide.

Virtuoso does not consider this function if specified in .cdsinit or .cdsenv.

Arguments

l_layers

A comma-separated list of layer names or layer categories. The supported keywords for the layer categories are Routing, Device, Derived, and All. These keywords are case-sensitive and must be used as is.

g_state

Indicates the state of the specified layers. It can have one of these values:

  • t: enabled
  • nil: disabled

Value Returned

t

The state was set.

nil

The state could not be set.

Examples

drdOptionUpdateLayer("Metal1,Metal2" t)

Enables the Metal1 and Metal2 layers in the Filters tab of the DRD Options form.

drdOptionUpdateLayer("Metal1,Metal2" nil)

Disables the Metal1 and Metal2 layers in the Filters tab of the DRD Options form.

drdOptionUpdateLayer("Routing,Device" nil)

Disables the Routing and Device layer categories in the Filters tab of the DRD Options form.


Return to top
 ⠀
X