if I get the database ID of a cell view ( layout cell ) with dbOpenCellViewByType() , is there a skill function to open the cell in a new window ?
I'd like to attach this to a bindkey to point and click to select a layout cell instance and open, I know there is descend Edit and Read but I don't want to descend in case I want to select something in my current layout and copy that to the other window.
I use these commands to open a cellview and add tabs to the window
To open the windowwind = deOpenCellView(lib cell "layout" "maskLayout" winBox0 "r") swind = hiGetSessionWindow(wind)To add tabs to the windowdeOpenCellView(lib cell "layout" "maskLayout" swind "r")
Thanks so much Paul for this trick ! I had to slightly modify your statement to this : deOpenCellView(cvId~>libName car(selectedSet())~>cellName "layout" "maskLayout" hiGetSessionWindow(hiGetCurrentWindow()) mode ) where mode is either "a" or "r" . but this works great if i want to drag and drop shapes across windows... I had not heard of this function deOpenCellView before. thanks again. Malcolm