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

pteGetLayerPath

pteGetLayerPath(
t_layerPurposeName
[ w_windowId ]
)
=> t_elementPath / nil

Description

Retrieves the element path of the specified layer-purpose pair when the View By mode is applied to the Palette. The result can be used to provide the t_paletteElementPath argument needed by the pteSetVisible, pteSetSelectability, pteSetValidity, pteSetOnlyVisible, pteSetOnlySelectable, ptePropagateVisibility, and ptePropagateSelectability functions in the View By mode.

Arguments

t_layerPurposeName

Name of the layer-purpose pair for which the element path needs to be displayed.

w_windowId

ID of the window containing the Palette from which you want to retrieve data.
Valid values: ID of any open window
Default: Current window

Value Returned

t_elementPath

The element path of the specified layer-purpose pair.

nil

The command was unsuccessful.

Example

Uses the output of the pteGetLayerPath function as an input for the pteSetVisible function.

pteGetLayerPath(“Oxide drawing”)
pteSetVisible(pteGetLayerPath(“Oxide drawing”))


Return to top
 ⠀
X