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

ccFindSurfaceFacet

ccFindSurfaceFacet(
o_surface
t_name
) 
=> o_facet / nil

Description

(Virtuoso Photonics Option) Searches for a facet with the specified name on the specified surface.

Arguments

o_surface

ID of a ccSurface object.

t_name

Name of a facet.

Value Returned

o_facet

ID of the found facet.

nil

The facet is not found.

Example

lfacet = ccCreateFacet(2:0 ?offsets 1:1 ?name "left")
=> cc@0x15a2201f
rfacet = ccRenameFacet(ccTransformFacet(lfacet rot90) "right")
=> cc@0x15a22027
surf = ccCreateSurface(ccCreatePolyCurve(list(lfacet curve rfacet)))
=> cc@0x258af018
ccFindSurfaceFacet(suff "left")
=> cc@0x15a2201f

Related Topics

Curvy Core Shape Object Attribute Query Functions


Return to top
 ⠀
X