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

ddsBrowserAction

ddsBrowserAction( 
s_action 
)
=> t / nil

Description

Returns the Boolean value of the requested Library Browser option. This function explains how applications use the Library Browser preferences and the actions specified in the ddsSyncWithForm function. If you are integrating your own Library Browser, you must decide whether to support such actions; if so, you can use this function. This functionality provides applications the ability to support the user’s need to see the Library Browser when a particular command is executed.

Arguments

s_action

Action choices are ’open (or ’design), ’place, ’other, or your own symbols.

    • open (or ’design for backward compatibility) If ddsSyncWithForm (or dmbSyncWithForm) is called with an action ofopen (or ‘design), ddserv will start the Library Browser only if this option is set to true. If not, the Library Browser is not displayed.
    • place If ddsSyncWithForm (or dmbSyncWithForm) is called with an action ofplace, ddserv will start the Library Browser only if this option is set to true. If not, the Library Browser is not displayed.
    • other If ddsSyncWithForm (or dmbSyncWithForm) is called with an action ofother, ddserv starts the Library Browser only if this option is set to true. If not, the Library Browser is not displayed.

Value Returned

t

Any other SKILL symbol passed as an action (meaning that the Library Browser will be called).

nil

No library is selected or if the Library Browser is not synchronized with any particular form.

Examples

If you set the preference for place to be t, when you run the Add-Instance command from tools such as the layout editor or schematic editor, the Library Browser displays automatically rather than waiting for the Browse button to be selected.


Return to top
 ⠀
X