AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
*Jon
Message 1 of 2 (115 Views)

delete a point group

115 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 (115 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
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 or visit the Installation and Licensing Forum to get help installing your software.