I have a script I am using to change block attributes.
When I have three blocks with the same name "LAB_C_M" and the attribute "LAB_C_M" , how do I know which block will be modified first?
In ACADLT, the order that the blocks are modified is defined by the BL:NUMBER. If the BL:NUMBER of the block is 1 it is modified first when using the editblockattributes command and then 2 second and so on.
I find that BL:NUMBER is always 3 for all blocks when I load a drawing and do a attext on the blocks in Draftsight.
Everytime I load the drawing and run my script the order that blocks are edited is different in Draftsight. It doesn't seem to follow the BL:NUMBER
Attached is my simple script.
I think this is a bug in the software. When I load up a drawing in ACADLT, I can extract the BL:NUMBER for a drawing created in Draftsight, and it is ordered correctly 1,2,3...
Not sure why Draftsight is not using the BL:Number correctly.
Looking for a fix or a short term workaround until its fixed.
Trevor
