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

dbCopyShape

dbCopyShape(
d_shapeId
d_cellviewId
[ l_transform ] 
)
=> d_newShapeId / nil

Description

Copies a shape to the specified cellview with the given transformation.

By default, coloring information is not copied. To copy coloring information, set the cdba copyMPAttributes environment variable to t before using dbCopyShape.

Arguments

d_shapeId

Database ID of the shape to be copied.

d_cellviewId

Database ID of a cellview.

l_transform

Optional list value to transform the copied shape.
List includes: origin offset, rotation, and magnitude. Default is '(0:0 "R0" 1)

Value Returned

d_newShapeId

Returns the database ID of the new shape.

nil

An error occurred during execution.

Examples

dbCopyShape(shapeId cvId list(10:10 "R0" 1)

Related Topics

Object Creation and Retrieval Functions


Return to top
 ⠀
X