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

leRegUserLayerSelectionFilter

leRegUserLayerSelectionFilter( 
t_filterName 
) 
=> t / nil

Description

Registers a user-defined layer selection filter to prevent you from selecting shapes on the layers.

Arguments

t_filterName

Name of user defined SKILL function which takes LPP ID as argument.

Value Returned

t

Returns t if the filter is successfully registered.

nil

Returns nil if the filter is not successfully registered.

Example

Registers layerFilter as the user-defined SKILL function.

leRegUserLayerSelectionFilter("layerFilter") 

Where layerFilter is the function procedure defined as:

procedure(layerFilter(lpId)
 let(()
    cond(
        (lpId~>name == "metal1"
     nil
        )
        (t
     t
        )
     )
 )

Return to top
 ⠀
X