ddRegHiddenCellsFunc
ddRegHiddenCellsFunc(s_hiddenCellsFunc[t_libName] ) => t / nil
Description
Registers a user-defined SKILL function that will be called to obtain a list of hidden cell names. Note that additionally the Virtuoso environment considers a cell to be hidden if it is a member of the Hidden category or its subcategories.
Hidden cell functions should be registered using the .cdsinit file so that hidden cells are available during Virtuoso startup for tools such as Library Manager.
Arguments
Value Returned
|
The function was not registered. The function specified might not exist or be callable. |
Example
Consider the myHiddenCellsFunc function, which hides cells that start with an underscore (_) in the myLib library:
procedure(myHiddenCellsFunc(libId)
setof(cellName libId~>cells~>name strncmp(cellName "_" 1) == 0)
)
Register the myHiddenCellsFunc function as follows:
ddRegHiddenCellsFunc('myHiddenCellsFunc "myLib")
Related Topics
ddUpdateLibList
Return to top