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?
Thank you for your reply and example code....
Sorry to say your code does not work correctly.....
cv = dbOpenCellViewByType( "V1_55P0_FHD_C502_R06_DEC2012_Panel_AELA" "pixel_unit" "layout" "maskLayout" "a" ) ;open DB*WARNING* (DB-270000): dbOpenCellViewByType: Unable to lock database file for V1_55P0_FHD_C502_R06_DEC2012_Panel_AELA/pixel_unit/layoutdb:0x1c1b3d9a
"pixel_unit" is editing by somebody else but cv does not return NILL but DB code (db:0x1c1b3d9a)....
Just warning "Unable to lock database" that is all....;
C/F : In case of without writing permission, cv returns nill. your code works correct. Thank you.