Search the Community
Showing results for tags 'selected'.
kizaerf posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceSo I will select certain lines and do the trim command but it will trim any line that I drag the mouse over whether i selected that line to trim or not. Is there a way for it to JUST trim the lines I select and nothing else?
Hi guys i'm trying to figure out how to make this lisp and I'm just not able to get it done I would like a lisp to do this by launching "CHC" - Select objects (or objects could be already selected when launching the CHC lisp) - Question asked: "Which color ?" (answering a color number) - If number is 256 or more (its wrong) and the question has to be reasked to get a number between 1 and 255. -Change selection set to the color# answered I've try this but it doesnt work : (defun c:chc ( / obj col#) (setq cmdecho 0) (setq obj (ssget)) (setq col# (getint "\nQuelle couleur ? : ")) (if (< col# 255) (setq col# (getint "\nQuelle couleur ? : " (command "change" obj "" "properties" "color" col# ""))) ) (princ) ) Thanks!