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

lxUnfold

lxUnfold(
)
=> t / nil

Description

Deletes all the folds of the selected folded device and creates a single, unfolded device at the same coordinates in the layout as the selected fold. The width of the new unfolded device is determined based on the width of the corresponding schematic device, if one exists. If the corresponding schematic device does not exist and the unfoldUseLayoutWidths environment variable is set to t, the sum of the fold widths is used to determine the total width of the unfolded device.

Arguments

None

Value Returned

t

The folds of the selected layout device are deleted, and an unfolded device is created.

nil

The command failed possibly because multiple folded devices were selected.

Examples

cv = geGetEditCellView() 
p0 = dbFindAnyInstByName(cv "P0")
lxFold(list(p0) 2:2 3) 

Creates three folds (P0.1, P0.2 and P0.3) starting at the coordinate 2:2.

p01 = dbFindAnyInstByName(cv "P0.1")
geSelectFig(p01)
lxUnfold()

Deletes P0.1, P0.2 and P0.3, and creates P0 at the coordinate 2:2.


Return to top
 ⠀
X