Place generic model family by select face

Do you have to use your family or could a new family work as well? Wondering if a ‘FamilyInstance.ByGeometry’ node from the springs package would work here. Not sure if you need to schedule things though.

If you do need to use your specific family I would consider the following:

  1. Don’t make it so you have to click every face - do all faces of the beam at once by getting the beam geometry, exploding it, removing the two smallest area faces, and then discarding the face with a normal equal to the Z axis.

  2. Consider nesting your panel family into a line based family with a constraint for beam width and beam depth. Place these families on the structural beams by getting the beam locations, and the beam width and depth parameter values, create your formwork beam at the same location as the concrete beam, and then set the depth and width to match the values from the structural beam.

  3. If option two isn’t viable, go face by face, get each the surface’s perimeter curves, group them by length, and if you have two groups the largest is your length and the shortest is your depth. If you have 3… well your beam is kinda weird and your formwork likely won’t bend that way anyway so review it manually.

2 Likes