CAD-Addict
21.01.2010, 16:01
Hi,I found the tip on how to add the select similar option that ACA has to plain autocad herehttp://www.cadforum.cz/cadforum_en/qaID.asp?tip=6365the tip tells u to create a button or a shortcut menu with the following command as macro(cadr(sssetfirst nil (ssget"_X"(list(cons 0(cdr(assoc 0(entget(car(entsel"\nSelect object and all similar: "))))))))))the string of commands works fine when I paste it in the command line, but when I create a button or a shortcut menu entry for this, the string is entered only this way(cadr(sssetfirst nil (ssget"_X"(list(cons 0(cdr(assoc 0(entget(car(entsel"missing the last part of the string and thus making the command not workany clues? I am using AutoCAD 2010.Thanks