I was wanting to create a custom button that will insert a particular block into my drawing. I was wanting to account for the situation that a user might be working along and need this block, so all they would do is click this button (even if this block has yet to be imported into the drawing).
Ok, here's the problem...
I want the button commands to automatically import the block into the drawing without the user having to look for it, so I was thinking: add the text "-import;location&name;-insert;XYZ;". The only problem is the "-import" command doesn't exist (the script version of the command), does anyone know of a way to load a block into a drawing from a script style command? Maybe someone has a lisp I could use to achieve this?