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

schSetOrigin

schSetOrigin( 
d_cvId
l_origin
)
=> t / nil

Description

Repositions all the objects in the specified symbol or schematic cellview relative to the new point.

Arguments

d_cvId

Cellview ID of an editable symbol or schematic cellview where you set the origin for repositioning the objects.

l_origin

Origin specified as a point.

Value Returned

t

Repositioned all the objects in the specified cellview relative to the new origin point.

nil

Operation was unsuccessful.

Examples

This example shows how to move the origin of the current cellview to point (1, 0).

schSetOrigin( geGetEditCellView() 1:0 )

Return to top
 ⠀
X