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

drdOptionUpdateConstraint

drdOptionUpdateConstraint( 
l_modeCategories
l_constraints
g_state
) 
=> t / nil

Description

Sets the default state for specified constraints and modes 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_modeCategories

A comma-separated list of one or more of these checking modes: Notify, PostEdit, Batch, Enforce, or all.

l_constraints

A comma-separated list of constraint names or constraint categories. The supported keywords for the constraint categories are All, Misc, Density, Length, Width, Grid, Spacing, Area, Edge Length, Extension, Complex Spacing, Num Cut, and Via. These keywords are case-sensitive and must be used as is.

g_state

Indicates the state of the specified constraints in the specified modes. 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

drdOptionUpdateConstraint("Notify" "minClearance,minWidth" t)

Enables the Notify mode for the minClearance and minWidth constraints in the Filters tab of the DRD Options form.

drdOptionUpdateConstraint("Notify,Enforce" "minClearance,minWidth" nil)

Disables the Notify and Enforce modes for the minClearance and minWidth constraints in the Filters tab of the DRD Options form.

drdOptionUpdateConstraint("Notify,Batch" "Spacing,Width" nil)

Disables the Notify and Batch modes for the Spacing and Width constraint categories in the Filters tab of the DRD Options form.


Return to top
 ⠀
X