B
Accessing the Cellview ID
You do not need to supply the cellview ID as an argument when you execute a Virtuoso® relative object design (ROD function within the body of a pcDefinePCell statement or within the body of a tcCreateCDSDeviceClass function call. The cellview ID defaults to the local variable pcCellView or tcCellView, respectively.
You need to specify the cellview ID when you execute a ROD function in the command interpreter window (CIW). You can get the cellview ID from the active cellview window or from the database, without opening a cellview window.
Getting the Cellview ID
To get the cellview ID, do one of the following:
-
To get the cellview ID for the cellview in the active open cellview window, type the following:
cvId = deGetCellView()
-
To get the cellview ID without opening a cellview window, type the following:
cvId = dbOpenCellViewByType( "
where myLib is your library name, myCell is your cellview name,myLib" "myCell" "layout" "w" )layoutis the view type, andrsets the mode to read-only. The cellview will be opened only in the database, not in a window.
For more information, see dbOpenCellViewByType.
Return to top