Delete faces of 3dSolids

Delete faces of 3dSolids

Anonymous
Not applicable
506 Views
2 Replies
Message 1 of 3

Delete faces of 3dSolids

Anonymous
Not applicable
I have a 3dsolid (steel shape) that has many holes (cylinders that was subtracted from main solid).

I need some code to identify and delete all the holes.

Any idea?
Leonardo
0 Likes
507 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Using .NET api you'll need Autocad 09 and Autodesk.AutoCAD.DatabaseServices.Solid3d.RemoveFaces(). Make
sure you reference acdbmgdbrep.

If you need if for pre 09 you'll need to use the native brep api and AcDb3dSolid::removeFaces(). See sample in the
utils folder in your ObjectARX skd install.


wrote in message news:5980137@discussion.autodesk.com...
I have a 3dsolid (steel shape) that has many holes (cylinders that was subtracted from main solid).

I need some code to identify and delete all the holes.

Any idea?
Leonardo
0 Likes
Message 3 of 3

Anonymous
Not applicable
Also, Autodesk just did a Webcast on Brep .Net which will show you how to traverse a solid to find your faces. I'm not
sure where they keep Webcasts for download - maybe someone else does.

"Paul Richardson" wrote in message news:5980296@discussion.autodesk.com...
Using .NET api you'll need Autocad 09 and Autodesk.AutoCAD.DatabaseServices.Solid3d.RemoveFaces(). Make
sure you reference acdbmgdbrep.

If you need if for pre 09 you'll need to use the native brep api and AcDb3dSolid::removeFaces(). See sample in the
utils folder in your ObjectARX skd install.


wrote in message news:5980137@discussion.autodesk.com...
I have a 3dsolid (steel shape) that has many holes (cylinders that was subtracted from main solid).

I need some code to identify and delete all the holes.

Any idea?
Leonardo
0 Likes