Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create UNNAMED SELECTABLE GROUP from lisp

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Anonymous
1717 Views, 5 Replies

Create UNNAMED SELECTABLE GROUP from lisp

How can I create and UNNAMED SELECTABLE GROUP from autolisp?

(command "group" "create" "*" "group_desc" sset "")


I can create an unnamed group as shown above by giving it "*" as the name,
and it will make a valid group, but it is not selectable by default, you
have to manually change it to be selectable.

I cannot use (command "group" "s" old_name new_name) because I do not know
what name AutoCAD gave it.
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Try this...

(command ".-group" "c" "*" "group_desc" sset "")
(command ".-group" "s" "")

Don


"Matt Slay" wrote in message
news:00FB0388DD9910E57148D1BB2436C3C6@in.WebX.maYIadrTaRb...
> How can I create and UNNAMED SELECTABLE GROUP from autolisp?
>
> (command "group" "create" "*" "group_desc" sset "")
>
>
> I can create an unnamed group as shown above by giving it "*" as the name,
> and it will make a valid group, but it is not selectable by default, you
> have to manually change it to be selectable.
>
> I cannot use (command "group" "s" old_name new_name) because I do not
know
> what name AutoCAD gave it.
>
>
>
>
>
>
Message 3 of 6
Anonymous
in reply to: Anonymous

Thanks. That does work, although it seems undocumented. How did you know
that?


"DonB" wrote in message
news:65866521F7D34A628364638C2EE68FA7@in.WebX.maYIadrTaRb...
> Try this...
>
> (command ".-group" "c" "*" "group_desc" sset "")
> (command ".-group" "s" "")
>
> Don
>
>
> "Matt Slay" wrote in message
> news:00FB0388DD9910E57148D1BB2436C3C6@in.WebX.maYIadrTaRb...
> > How can I create and UNNAMED SELECTABLE GROUP from autolisp?
> >
> > (command "group" "create" "*" "group_desc" sset "")
> >
> >
> > I can create an unnamed group as shown above by giving it "*" as the
name,
> > and it will make a valid group, but it is not selectable by default, you
> > have to manually change it to be selectable.
> >
> > I cannot use (command "group" "s" old_name new_name) because I do not
> know
> > what name AutoCAD gave it.
> >
> >
> >
> >
> >
> >
>
>
Message 4 of 6
Anonymous
in reply to: Anonymous

I don't remember where I got that, but the command defaults to the last
group created.

Don

"Matt Slay" wrote in message
news:AD89F52DEA728094978912DBA9979F07@in.WebX.maYIadrTaRb...
> Thanks. That does work, although it seems undocumented. How did you know
> that?
>
>
> "DonB" wrote in message
> news:65866521F7D34A628364638C2EE68FA7@in.WebX.maYIadrTaRb...
> > Try this...
> >
> > (command ".-group" "c" "*" "group_desc" sset "")
> > (command ".-group" "s" "")
> >
> > Don
> >
> >
> > "Matt Slay" wrote in message
> > news:00FB0388DD9910E57148D1BB2436C3C6@in.WebX.maYIadrTaRb...
> > > How can I create and UNNAMED SELECTABLE GROUP from autolisp?
> > >
> > > (command "group" "create" "*" "group_desc" sset "")
> > >
> > >
> > > I can create an unnamed group as shown above by giving it "*" as the
> name,
> > > and it will make a valid group, but it is not selectable by default,
you
> > > have to manually change it to be selectable.
> > >
> > > I cannot use (command "group" "s" old_name new_name) because I do not
> > know
> > > what name AutoCAD gave it.
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
Message 5 of 6
Anonymous
in reply to: Anonymous

Hi,

Message 6 of 6
Anonymous
in reply to: Anonymous

Hi,

Sorry to intrute, I am using AUTOCAD 2011. If create a group with no name, I cannot ungroup it right? That is REALLY A PROBLEM....

1. I dont like group name, stupid idea.
2. I dont like to explode, Game over.
AutoCAD sure is a funny company, give ungroup to LT but missing function to preium user...

Any suggest really help, many thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost