schGetCellViewListInSearchScope
schGetCellViewListInSearchScope(d_cvId t_scope d_topCV t_viewNameList t_libName t_mode) =>l_cvList/ nil
Description
Returns a list of cellviews in the search scope you specify. Only cellviews of the same view type as the base cellview are returned.
To ensure the cellviews returned are correctly released, call
dbClose() on each cellview after use. Refer to the example below for details.Arguments
Value Returned
Examples
Returns a list of schematic cellviews that are in the hierarchy underneath the cellview top. The cellviews are placed in the readable list (second element).
cvId = dbOpenCellViewByType( "projectLib" "top" "schematic" "" 'r )
retList = schGetCellViewListInSearchScope( cvId "hierarchy" cvId "schematic symbol" "" "read" )
cvList = cadr( retList )
; use the cellviews in cvList here before freeing them
foreach( cvInfo cvList dbClose(cvInfo) )
Return to top