Hi... This is Alvin Park. SKILL Beginner ^_^
I programmed a SKILL code for auto editing.
first DB open by "dbOpenCellViewByType"
TDB = dbOpenCellViewByType( LibName CellName "layout" "masklayout" "a")
in case normal... this return correct DB code to TDB parameter. So far so good.
but in case of editing by somebody else (locked) , CIW shows warning that this cell is locked. (shows warning only!)
This code return correct DB code in spit of not editing the cell.
So before DB open by editing mode,
How can I determine some cell is editing by sombody else?
Once the cellview is edited by someone, cadence will locked it down to avoid other user from editing it. If you want to play safe for your code, you can perform checking before proceed. Example:
if( cv = dbOpenCellViewByType( libName cellName viewName "maskLayout" "a") then
; Start your code here, coz you managed to edit it
error("Failed to open cellview in edit mode. Mission aborted\n")