In AutoCAD you can insert objects from another drawing as a block, using a pull down menu.
In this project, I have a number of files corresponding to steel sections, 1 file per section.
There are the MNU and script files in the same folder (see attachments).
The issue: If I insert in a drawing, the name of the block seems to take the name of the file. I want to change it to a random name such as "A$C7ABC15J1".
The reason is that if I insert the same Secti
Thanks for the above instructions Alan.
I'm still having issues with the Cancel though, even with the "(setvar 'osmode 47)" added.
One thing I forgot to say yesterday, was that this error message turns up on AutoCAD: "A block named "tempblk" already exists."
This was another reason I wanted to name the block as the date to the nearest second, even though it's not as pleasing as your solution, it cuts out one step, of having a temporary block name.
No need to tak