Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schRenumberSheet

schRenumberSheet( 
d_cvId 
x_from 
x_to 
)
=> t / nil

Description

Changes the number of a sheet in a multisheet schematic and changes the cell name of the renumbered schematic to match the destination sheet number. If a sheet already exists with the destination number, the new sheet is inserted before it and all succeeding sheets are renumbered accordingly.

Arguments

d_cvId

Cellview ID of the index schematic containing the sheet to renumber.

x_from

Source number of the sheet to renumber.

x_to

Destination number for the source sheet.

Value Returned

t

Changed the number of a sheet in a multisheet schematic and changes the cell name of the renumbered schematic to match the destination sheet number.

nil

Changing sheet number was unsuccessful.

Examples

Renumbers sheet 3 as sheet 4. Any succeeding sheets are renumbered.

schRenumberSheet( cv 3 4 )

Renumbers sheet 4 as sheet 3. If sheet 3 exists, the sheets are swapped.

schRenumberSheet( cv 4 3 )

Return to top
 ⠀
X