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

ccConvertIntoCurvy

ccConvertIntoCurvy(
d_fig
)
=> o_owner / nil

Description

(Virtuoso Photonics Option) Returns a new ccShape to which the specified database figure is attached.

This function supports rectangles and truncated pathSegs.

Argument

d_fig

Database ID of a figure.

Value Returned

o_owner

ID of the new ccShape to which the specified figure is attached.

nil

The operation failed.

Examples

ccConvertIntoCurvy(dbCreateRect(cv "waveguide" list(0:0 1:0.5)))
=> cc@0x15a2201f
ccConvertIntoCurvy(dbCreateDot(cv "waveguide" 1:1))
=> *Error* (CC-200028): oaShapes other than rectangles and truncated pathSegs are not supported in this version.

Related Topics

Curvy Core Shape Geometry Functions


Return to top
 ⠀
X