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

lxSetBoundaryOptions

lxSetBoundaryOptions(
[ ?shape t_shape ]
[ ?origin g_origin ]
[ ?points lg_points ]
)
=> t / nil

Description

Sets the boundary options in the Generate Layout and Update Components and Nets forms. It must be called between calls to lxGenerateStart and lxGenerateFinish or lxUpdateComponentsAndNetsStart and lxUpdateComponentsAndNetsFinish.

When used with the other lxSet* functions, this provides an alternative interface to the Generate Layout or Update Components and Nets forms. If optional arguments are not supplied the normal default values for the form fields apply.

Arguments

?shape

Specifies the shape of the boundary.
Valid Values: Rectangle and Polygon
Default: Rectangle

?origin

Specifies the coordinates of the boundary’s origin. This argument is required when ?shape is set to Rectangle.

?points

List of points defining the vertices of a polygonal boundary. This argument is required when the ?shape is set to Polygon.

Value Returned

t

Boundary options were set.

nil

Boundary options were not set.

Examples

lxGenerateStart(schCv layCv (?extractSchematic t))
lxSetBoundaryOptions(
?shape "Rectangle"
?origin 0:0)
lxGenerateFinish(schCv layCv (?extractSchematic t))

Creates a rectangular boundary with its origin at (0, 0) during layout generation.

lxUpdateComponentsAndNetsStart(schCv layCv (?extractSchematic t))
lxSetBoundaryOptions(
?shape "Rectangle"
?origin 0:0)
lxUpdateComponentsAndNetsFinish(schCv layCv (?extractSchematic t))

Updates an existing layout.


Return to top
 ⠀
X