Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbCreatePolygon

dbCreatePolygon( 
d_cellView 
txl_layerPurpose
l_points 
) 
=> d_polygon / nil 

Description

Creates a polygon.

Arguments

d_cellView

Database ID of a cellview.

txl_layerPurpose

Name, number, or a list of layer or layer-purpose pair.

l_points

The point list must contain at least three points and should not be self-intersecting. The point list does not have to explicitly close because the database assumes that there is always an implicit boundary segment between the first and last points.

Value Returned

d_polygon

The dbObject of the polygon.

nil

The polygon is not created.

Examples

dbCreatePolygon(cv "background" list(0:0 0:1 1:1 1:0))
dbCreatePolygon(cv list(11 "drawing") list(5:10 0:10 0:0))

Related Topics

Database Access Function Argument Types

Object Creation and Retrieval Functions


Return to top
 ⠀
X