pteGetSelection
pteGetSelection(t_panelName[w_windowId] ) =>l_layerSetItems/ nil
Description
Retrieves a list of the selected layer-purpose pairs, objects, or grids from the specified panel.
Arguments
|
ID of the window containing the Palette from which you want to retrieve a list of selected objects. |
Value Returned
|
A list containing the selected layer-purpose pairs, objects, or grids. |
|
|
If the panel specified is Objects or Grids, but no object or grid is selected in the panel.
If Selection Mode is set to Single Selection, use
leGetEntryLayer to retrieve the active layer-purpose pair. |
Examples
pteGetSelection("Layers")
(("Oxide drawing" "Layers") ("Poly drawing" "Layers"))
pteGetSelection("Grids" window(2))
(("Grids;Routing Grid;Metal1" "Grids")
("Grids;Routing Grid;Metal2" "Grids"))
Return to top