.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete faces of 3dSolids

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
411 Views, 2 Replies

Delete faces of 3dSolids

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
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

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
Message 3 of 3
Anonymous
in reply to: Anonymous

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

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost