Extract family instance 2D representation/symbol

Extract family instance 2D representation/symbol

grubdex
Enthusiast Enthusiast
229 Views
1 Reply
Message 1 of 2

Extract family instance 2D representation/symbol

grubdex
Enthusiast
Enthusiast

Hi there,

I'm trying to extract the geometry of the 2D representation of a given family instance.

For example, for this bed, I'd like to extract a list of segments with which I could recreate the bed (including pillow etc)

grubdex_0-1712840192980.png

 

I've found this gold nugget by Jeremy Tammik, but it seems to extract only the outline, not what's "inside" the outline so to speak.

 

Thanks in advance!

0 Likes
Accepted solutions (1)
230 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni
Accepted solution

The gold nugget that you refer to reads the entire element geometry and eliminates everything from it except the outermost enclosing loop. In your case, you wish to retain the internals. So, you need to retrieve the element geometry in a similar fashion and not throw away the internal bits and pieces. 

   

There are many ways to retrieve element geometry, and numerous samples demonstrating how to do so. Searching The Building Coder for get_Geometry produces hits in 113 different blog posts:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes