Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

geom_add_shape

geom_add_shape
-scratch_layer i_scratchID 
{[ -rect { f_xlo f_ylo f_xhi f_yhi } ] 
 [ -rects {[ { f_xlo f_ylo f_xhi f_yhi }] 
          [ { f_x1 f_y1 f_x2 f_y2 f_x3 f_y3 … f_xn f_yn }]} 

Description

Adds one or more rectangle or polygon shapes to the given scratch layer. These shapes can be:

Arguments

-rect {f_xlo f_ylo f_xhi f_yhi}

  

Specifies the location for the rectangle shape, given the lower left and upper right coordinates.

-rects {{f_xlo f_ylo f_xhi f_yhi} {f_x1 f_y1 … f_xn f_yn}}

Specifies one or more rectangle shapes (given by the lower left and upper right coordinates) and/or one or more polygonal shapes (given by at least four x-y coordinate pairs in rectilinear sequence and the first x-y pair must be the same as the last x-y pair).

-scratch_layer i_scratchID

  

Adds the shapes to the scratch layer identified by the positive non-zero integer.

Examples

The following command adds a rectangle and a polygon shape to scratch layer 2.

geom_add_shape -rects {{20 20 30 30} {0 1 10 1 10 7 4 7 4 3 0 3 0 1}} -scratch_layer 2

The following command, using -rect, adds a rectangle to scratch layer 2.

geom_add_shape -rects {20 20 30 30} -scratch_layer 2

The following command, using -rects, adds a rectangle to scratch layer 2.

geom_add_shape -rects {{20 20 30 30}} -scratch_layer 2

Related Topics

Create Commands

geom_and

geom_and_not

geom_not

geom_size

geom_or

geom_xor


Return to top
 ⠀
X