Adaptive Families / element geometry and intersection

Adaptive Families / element geometry and intersection

Anonymous
Not applicable
949 Views
5 Replies
Message 1 of 6

Adaptive Families / element geometry and intersection

Anonymous
Not applicable

Hi folks,

I’m creating a bridge with Revit 2017 2.2. I use nested adaptive families for the bridge design. I put cross sections along a grade and sweep them.

1.png

But when I create sections, it is not possible to measure them.

So I thought I can create a flat disc through the bridge and use the geometry that intersects to draw modellines in the section view to measure.

 

3D-View

 2.png

Section View

3.png

But as you see, the adaptive familie doesn’t intersect! Only the “normal” generic model families create intersections with the disc.

I figured out, that there is no element geometry behind my adaptive family. The generic model families with sweeps inside have element geometries.


4.png

Warning: Element.Geometry failed. Value can not be null.

 

So is there a possibility to intersect with adaptive families? Is there an other way to get measurable section views or what am I doing wrong?

0 Likes
Accepted solutions (1)
950 Views
5 Replies
Replies (5)
Message 2 of 6

FAIR59
Advisor
Advisor
Accepted solution

Adaptive Families are shared. The geometry of shared nested families doesn't "transfer" to the bridge family.

So you have to find the nested families to get their geometry.

 

FamilyInstance instance; // bridge
List<ElementId> nestedFamilyIds =  instance.GetSubComponentIds().ToList();
0 Likes
Message 3 of 6

Anonymous
Not applicable

Thanks, that helps a lot!

0 Likes
Message 4 of 6

Anonymous
Not applicable

Hm,

I tried

 

for subcomp in item.GetSubComponentIds():
		itemlist.append(item.Document.GetElement(subcomp).ToDSType(True))

But then I only get the other adaptive families inside the element and not the 3-D solid body I created. Is there a way to get the 3-D solid body also?

0 Likes
Message 5 of 6

FAIR59
Advisor
Advisor

In general, I would say the geometry should be available. In your specific case, I can't comment without access to your project and family.

0 Likes
Message 6 of 6

Anonymous
Not applicable

Hi,

there were 3 solid bodies in one family. This was probably the problem. I decided to create every solid in an extra family and know the geometry is available.

 

Thanks for your help.

0 Likes