ktbjx Posted May 18, 2017 Share Posted May 18, 2017 i tried making a lisp to create classic groups (defun c:CG (/ ss q1) (while T (setq ss (ssget "_:S" '((0 . "LINE")))) (setq q1 (getString "\nEnter GROUP: ")) (COMMAND "Group" "create" q1 "" ss "") (command "chprop" "p" "" "c" "1" "") ) (princ) ) but now i want to create a lisp to add an object(specifically LINE) to those previously created groups... can someone help me? So Recap, i created a group right? now i want to something to that group. something like i select a line with a groupName, then i select another line that i want to add to that group... is it possible? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 19, 2017 Share Posted May 19, 2017 So simple thanks to google, Groupedit add or remove. Quote Link to comment Share on other sites More sharing options...
ktbjx Posted May 19, 2017 Author Share Posted May 19, 2017 So simple thanks to google, Groupedit add or remove. got it thanks i didnt knoe the command groupedit exist. thanks sir Quote Link to comment Share on other sites More sharing options...
tombu Posted May 19, 2017 Share Posted May 19, 2017 I added a Group drop-down to my Ribbon with the commands Group, Ungroup, GroupEdit, and ClassicGroup. No lisp required. Quote Link to comment Share on other sites More sharing options...
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.