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

schCloneSymbol

schCloneSymbol( 
d_cvId 
d_masterId 
l_origin 
t_orient 
) 
=> t / nil

Description

Copies or clones graphics from an existing symbol into the target symbol cellview with the given location and orientation.

Arguments

d_cvId

Cellview ID of the editable symbol cellview in which to place copied graphics.

d_masterId

ID of the clone master cellview, which can be accessed using several different methods, such as an explicit call to dbOpenCellViewByType.

l_origin

Location to place the clone.The origin of the instance master is used as the reference point.

t_orient

Orientation to give the clone placement; must be enclosed in quotation marks.
Valid Values: R0, R90, R180, R270, MX, MXR90, MY, MYR90

Value Returned

t

Graphics were copied or cloned from an existing symbol into the target symbol cellview with the given location and orientation.

nil

Copying or cloning was unsuccessful.

Examples

Clones an inverter symbol from the sample library in the specified symbol cellview. The cloned graphics are placed at 0,0 with an R0 orientation.

symbolId = dbOpenCellViewByType( "sample" "inv" "symbol" "" 'r )
schCloneSymbol( cvId symbolId 0:0 "R0" )

Return to top
 ⠀
X