Jump to content

Need some advice for extracting a face of a 3Dsolid in .Net 2005 and acad 2008?


Recommended Posts

Posted

I am at a dead end here, I am limited to VS 2005 and AutoCAD 2008 so any suggestions on how I would get the two faces of this solid in VB.net? Basically I am trying to ultimately get the 2D geometry of the two faces shown in the pic .......I was looking at "C# code traverses the Brep of a selected Solid3d," but this API is for 2009 AutoCAD. Any ideas?

 

Thanks.

3D.JPG

Posted

I don’t have the 2008 Managed Class Reference Guide to know what is or isn’t available. You may have to go “old school” on this. By that I mean retrieving the geometry via the Solid’s and Region’s Explode Method. The “debris” of those explosions is returned as a DBObjectCollection, so analyzing (and subsequent deletion) is fairly straightforward.

Posted
You may have to go “old school” on this. By that I mean retrieving the geometry via the Solid’s and Region’s Explode Method. The “debris” of those explosions is returned as a DBObjectCollection, so analyzing (and subsequent deletion) is fairly straightforward.

 

Great; I tested out .Explode(acDBObjColl) in AutoCAD 2008 and it worked. Now I can try to get the 2D edge geometry of each side to this subtracted solid.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...