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

mptLockAll

mptLockAll(
d_cellViewID 
[ l_layerNames ] 
)
=> t / nil

Description

Locks all the top-level shapes of the specified cellview with their current color. You can optionally lock only the shapes on specific colorable layers. Gray color shapes are not locked.

Arguments

d_cellViewID

The database ID of the cellview to be processed.

l_layerNames

Processes only the shapes on the colorable layers in this list.

Value Returned

t

The shapes are locked to their current color.

nil

The shapes are not locked due to an error (for example, invalid cellview ID or other invalid argument).

Example

mptLockAll( geGetEditCellView() )

Locks all the shapes at the current editing hierarchy level to their current colors.

mptLockAll( cv list( "Metal1" "Metal2" ) )

Locks all the Metal1 and Metal2 top-level shapes of the cv cellview to their current colors.

Related Topics

Lock and Unlock All

mptUnlockAll


Return to top
 ⠀
X