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

dbCopyCellView

dbCopyCellView( 
d_srcCVId 
t_libName 
t_cellName 
t_viewName 
[ t_version 
[ g_contextId 
[ g_overwrite ] ] ] 
) 
=> d_cellViewId / nil

Description

Copies a cellview to a destination cellview.

Arguments

d_srcCVId

Source cellview to be copied.

t_libName

Destination library to which the file is to be copied.

t_cellName

Destination cell name.

t_viewName

Destination view name.

t_version

This argument is preserved for compatibility with earlier versions of the software and should be nil if specified.

g_contextId

This argument is preserved for compatibility with earlier versions of the software and its contents is ignored.

g_overwrite

Specifies whether a cellview in the destination library is to be over written. If this argument is nil (the default value), no cellviews are overwritten. If this argument is t, the cellviews are overwritten.

Values Returned

d_cellViewId

The destination cellview ID.

nil

The cellview is not copied.

Examples

In the following example, cellview A is copied to library test8, cell A2, view layout. If cellview A already exists in the destination library, it is overwritten. The return value is the destination cellview ID.

dbCopyCellView(A "test8" "A2" "layout" nil nil t)
=> db:0x16683812

Return to top
 ⠀
X