Visual Basic Customization

Reply
*malcolm
Message 1 of 6 (136 Views)

ADD GROUP

136 Views, 5 Replies
08-22-2000 10:03 AM
How can I create a new "UNNAMED" Group using VB

Set grpObj = myDoc.Groups.Add("new")
the argument is not optional using this function.
*Oquendo, Frank
Message 2 of 6 (136 Views)

Re: ADD GROUP

08-22-2000 10:08 AM in reply to: *malcolm
I have an ARX app that allows you to (among *lots* of other things) set a
group to anonymous once it's been created. It's still in beta but it seems
stable so far. If you'd be willing to help me test it, I'll email you a copy

--
Attitudes are contagious. Is yours worth catching?
http://www.acadx.com

"malcolm" wrote in message
news:01c00c5a$a2768480$8b3ea8c0@fernandesm...
> How can I create a new "UNNAMED" Group using VB
>
> Set grpObj = myDoc.Groups.Add("new")
> the argument is not optional using this function.
New Member
Stantec
Posts: 1
Registered: ‎08-22-2000
Message 3 of 6 (136 Views)

Re:

08-22-2000 10:49 AM in reply to: *malcolm
Thanks, But I fould a solution.
I used a wild card character
(trial and error method works...... sometimes)


myDoc.Groups.Add("*")
*Layton, Corey A.
Message 4 of 6 (136 Views)

Re:

08-22-2000 01:01 PM in reply to: *malcolm
what version of acad are you using?
i tried your method in the past and vba returned errors.
possibly autodesk corrected this bug in 2000i?

Stantec wrote in message
news:ef3812c.1@WebX.SaUCah8kaAW...
Thanks, But I fould a solution.
I used a wild card character
(trial and error method works...... sometimes)
myDoc.Groups.Add("*")
*Tanzillo, Tony
Message 5 of 6 (136 Views)

Re: ADD GROUP

08-22-2000 06:38 PM in reply to: *malcolm
You can get a copy of my AcadX server at the
URL below, and use the Application object's
SetGroupName() method:

SetGroupName(Group As AcadGroup, Name As String)

Sets the specified Group's name. If the group
is named, and the new name is "*", the group
becomes anonymous. If the group is already
anonymous, and the name is a valid group name,
then the group becomes named (non-anonymous).

malcolm wrote:
>
> How can I create a new "UNNAMED" Group using VB
>
> Set grpObj = myDoc.Groups.Add("new")
> the argument is not optional using this function.

--

Checkout the AcadX(tm) ActiveX Extension Library at:

http://www.caddzone.com/acadx/acadx.htm

/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.tanzillo@worldnet.att.net */
/* http://www.caddzone.com */
/*********************************************************/
Distinguished Contributor Mal
Distinguished Contributor
Mal
Posts: 305
Registered: ‎11-07-2003
Message 6 of 6 (136 Views)

Re:

08-23-2000 09:55 AM in reply to: *malcolm
I am using AutoCAD R14,
It would be a shame if Autodesk sees this as a bug
and removed from AutoCAD2000
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.