AutoCAD Civil 3D General

Reply
*Jon
Message 1 of 2 (107 Views)

delete a point group

107 Views, 1 Replies
01-18-2006 03:51 AM
Hi All,
I have a test drawing which originally had points in it, but they have been
deleted.
I have a few groups in this drawing, all of which show a point number count
of 0.

I have tried to delete one of the groups with the right mouse button, delete
option but the group persists.

I ran a vba test on the group, attempting to use group.delete but I get a
debug error of "container not empty".

Does anyone know what I may have done to cause this?

The point group is not locked.

Thanks,

Jon
*Jon
Message 2 of 2 (107 Views)

Re: delete a point group

01-18-2006 03:59 AM in reply to: *Jon
I rectified the code to use groups.remove(index), which gave the same error,
but putting a "on error resume next" prior means it stills performs the
operation and does remove the point group. This seems odd: to get an error
but still succeed in the operation.
I would like very much to know why I could not delete this point group
within c3d.

Thanks again.

Jon
"Jon" wrote in message
news:5062118@discussion.autodesk.com...
Hi All,
I have a test drawing which originally had points in it, but they have been
deleted.
I have a few groups in this drawing, all of which show a point number count
of 0.

I have tried to delete one of the groups with the right mouse button, delete
option but the group persists.

I ran a vba test on the group, attempting to use group.delete but I get a
debug error of "container not empty".

Does anyone know what I may have done to cause this?

The point group is not locked.

Thanks,

Jon

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs