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

ccCreateSurface

ccCreateSurface(
d_cellViewId
l_lpp
o_boundary
[ l_holes ] 
) 
=> o_surface / nil

Description

(Virtuoso Photonics Option) Creates a ccSurface object on the specified layer-purpose pair from the specified boundary, which is ccPolyCurve with positive area and a list of holes, which are ccPolyCurve objects with negative areas.

Arguments

d_cellViewId

Database ID of a cellview.

l_lpp

tx_layer |  (tx_layer tx_purpose)

A layer or a layer-purpose pair.

o_boundary

A ccPolyCurve object with positive area.

l_holes

(o_holes...) 

A list of ccPolyCurves with negative areas.

Value Returned

o_surface

ID of the resulting ccSurface.

nil

An error occurred.

Examples

circ = ccCreatePolyCurve(ccCreateCurve("cos(t)" "sin(t)" -3.14159265:3.14159265)
                         ?close t)                         )
=> cc@0x269c83f0
ccCreateSurface(cv "waveguide" circ
                 list(ccTransformPolyCurve(ccReversePolyCurve(circ) '((0 0) 0.2))))
=> cc@0x28f45441

Related Topics

Curvy Core Shape Creation Functions


Return to top
 ⠀
X