Hi: I am working on a layer state management routine. I like to know when autocad is in zero document state, so I can disable all the control in my form. since there are no ThisDrawing, how I can get the AcadApplication? I am going to play with GetObject, GetInterfaceObject. If anyone can give me a right direction, I will appreciate a million. thank you, Wes