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

phoGetConnectorAnchors

phoGetConnectorAnchors(
dbInstID
)
=> list( l_anchorStartDescription l_anchorEndDescription))

Description

(Virtuoso Photonics Option) Reads the supported optical nets connected to the instance terminals of an instance to return the information about the start and end anchor points for an associated connector waveguide. A connector waveguide has exactly two directed optical ports.

Arguments

dbInstID

Database instance IDs of the specified instance connector.

Value Returned

list( l_anchorStartDescription l_anchorEndDescription))

Anchor start and end point for the specified connector waveguide returned in the following list format:

 list( anchorLPP
               anchorXY
               angle
               width
               radius
             )

Example

Gets a database pointer to a connector waveguide instance selected in the layout canvas.

instId = car(geGetSelSet())

Gets the anchor information for the selected connector instance.

phoGetConnectorAnchors(instId)
((("waveguide" "drawing") 
 (-44.534 12.882) 0.0 0.5 nil
    ) 
    (("waveguide" "drawing") 
 (95.568 7.032) 0.0 0.5 nil
    )
)

Related Topics

Photonics Flow Functions


Return to top
 ⠀
X