Hi everyone,
I use the insertblock command (via VBA) to insert home-made blocks in a drawing. Cyurrently each pre-defined block is stored in a DWG. The issue is that some of the inserted blocks are not editable : when I double-click on them, I do not get the "edit attributes" window, instead I get the warning message "The object is on a locked layer".
One of my inserted blocks is totally editable and I do not see any difference with the other ones. The layer they are inserted on is the same for every of them, so why this one is editable and the others are not ? I looked into the "layer manager" and the layer is "unlocked".
A little hint : the DWG I work on already contains blocks (my aim is to add some others from an Excel list), they also are on the same layer as my inserted blocks, and they are editable.
Another hint : when I use my insertion procedure in an other DWG it works percetly and every of my inserted blocks are editable. However I need to insert them in the DWG I work on, not a test DWG.
I prefered not to post my VBA code because I think it does not come from the code but from the DWG. If you think I am wrong tell me and I will post it.
Thanks for your attention, have a nice day !