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

ccRenameFacet

ccRenameFacet(
o_facet
t_name
)
=> o_facet2 / nil

Description

(Virtuoso Photonics Option) Returns a copy of the specified facet with a different name.

Arguments

o_facet

ID of a ccFacet object.

t_name

A new name for the destination facet.

Value Returned

o_facet2

ID of the resulting ccFacet.

nil

An error occurred.

Example

rfacet = ccCreateFacet(2:0 ?angle -90 ?offsets 1:1 ?name "right")
> cc@0x86ca13ca
tfacet = ccRenameFacet(ccTransformFacet(rfacet '((0 0) 90)) "top")
> cc@0xc70cee6c
tfacet~>name
"top" 

Related Topics

Curvy Core Mathematical Object Functions


Return to top
 ⠀
X