Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

lxGetSchematic

lxGetSchematic(
d_layoutCellViewId
)
=> d_schematicCellViewId / nil

Description

Returns either the schematic currently open in an existing Layout XL session, the schematic defined by the connectivity reference returned by lxGetConnRef, or the schematic in the same library and cell as the layout when no connectivity reference is defined.

Argument

d_layoutCellViewId

Database ID of a layout cellview

Value Returned

d_schematicCellViewId

Database ID of a schematic cellview.

nil

No schematic was found or an error occurred.

Example

Retrieves the ID for the Layout XL cellview being edited currently and then returns the database ID of the schematic cellview open for this Layout XL cellview.

lxGetSchematic(geGetEditCellView())
> db:0x3594001a

Related Topics

lxGetConnRef


Return to top
 ⠀
X