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

geDSAGetSelectedSet

geDSAGetSelectedSet(
[ ?window w_windowId ]
[ ?objTypesFilter l_objTypesFilter ]
)
=> list / nil

Description

Returns the hierarchical selected set from the Dynamic Selection assistant.

Arguments

?window w_windowId

The ID of the window from which the objects are selected.

?objTypesFilter l_objTypesFilter

A list of selected object types.

Value Returned

list

Hierarchical selected set from the Dynamic Selection assistant.

nil

The command as unsuccessful or the command failed.

Examples

The following example with no parameters, returns all selected items from the Dynamic Selection assistant opened in the current window.

geDSAGetSelectedSet()
=> (((("SMALL" "dsaGetItems" "layout")
     ("M1(1,0)" "SMALL" "low" "layout")
("ILow" "SMALL" "low2" "layout")
("ILow2" "SMALL" "low3" "layout")
)
(rect
(db:0x2c8ddb1a)
)
)
((("SMALL" "dsaGetItems" "layout")
("M1(1,0)" "SMALL" "low" "layout")
("ILow" "SMALL" "low2" "layout")
)
(inst
("ILow2")
)
)
((("SMALL" "dsaGetItems" "layout"))
(mosaic
("M1")
)
)
)

The following example with parameters window(2) and list(‘inst), returns the selected instance items from the Dynamic Selection assistant opened in window(2).

geDSAGetSelectedSet(window(2) list('inst))
=> (((("SMALL" "dsaGetItems" "layout") 
     ("M1(1,0)" "SMALL" "low" "layout") 
     ("ILow" "SMALL" "low2" "layout")
 ) 
 (inst 
     ("ILow2")
 )
    )
 )

Related Topics

Dynamic Selection Assistant


Return to top
 ⠀
X