Hello all.. I been using custom toolbars/menus to insert blocks w/ macros. I now have time to customize/setup blocks w/ a new pallete. Problem I have is when I open a dwg, make a block of something (say lav), save the dwg, drag block to the new pallete, than open a new dwg.. and it drag/inserts the block from pallate.. it wont use the macro as it does on the drop down toolbar/menu.
A sample macro from the toolbar/drop down menu.. (^C^C(setq cl(getvar "clayer")) ortho on -layer m A-Plumbing ^C^C-insert;LAV \;;\(setvar "clayer" cl)
This works perfectly from tool bar/drop down menu. But when I insert “lav” from the tool pallet, it just inserts the block, doesn’t act as a command and run macro like a toolbar/menu
Any suggestions? Or a tool pallete wont run a macro when I insert a block from it. autocad 2014
Thanks for the responses!