Butch Posted March 12, 2009 Posted March 12, 2009 Ive customized my right mouse button click so it repates last command. Yesterday I created an custom tool pallet and created few blocks. After I insert a block from my tool pallet, right click is no longer repating my last command, what its doing is inserting that last block that Ive inserted from my tool pallet:x So I could insert block in my drawing, then draw something with a line, then maybe mirror something, then maybe copy it, and then if I hit my right mouse botton in order to repate my last command ( in this case copy) it wants to insert my last block from tool pallet! Why and help:( Quote
Butch Posted March 13, 2009 Author Posted March 13, 2009 Anyone :-( Even some clue or hint where the problem might be... Quote
Tiger Posted March 13, 2009 Posted March 13, 2009 How did you set that? In the CUI? Did you set a macro? Quote
Butch Posted March 14, 2009 Author Posted March 14, 2009 You mean how did I add the blocks to the custom palette? I drag the block from the working window (model space) directly to the pallet window...drag&drop Quote
Lee Mac Posted March 14, 2009 Posted March 14, 2009 I never knew you could do that.... Just tried it in '04 and don't think you can in '04. If I were you to avoid the problems, just set up a simple button macro to insert your block, then you know will repeat as normal. You could make a call to just something simple like this: (defun c:insblk (/ bNme) (setq bNme "[b][color=Red]BLOCK1[/color][/b]") (cond ((or (tblsearch "BLOCK" bNme) (findfile (strcat bNme ".DWG"))) (command "-INSERT" bNme pause "" "" "")) (T (princ "\n<!> Block not Found <!>"))) (princ)) Where you would substitute your block name for BLOCK1. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.