Hello everyone,
I´m struggling to find answers that would help me in this topic, so I decided to ask.
I´d like to create Revit lofted geometries with Grasshopper. My goal is to create loft geometry updatable later directly with Revit.
How does it work? - 05 Revit - Bridge Superstructure Family Creation - YouTube
I´m able to successfully replicate this process in several steps I´d like to manage with single GH script.
Today I load and distribute conceptual mass family with parametric cross-section profile using Grasshopper, but then there are obstacles one must manage manually:
- it only works in Revit family template document (Generic Model Adaptive rft), so at first I must open a new Family document each time,
- when profiles are distributed, I need to manually select them, hit “Create shape” icon in Revit,
- when the loft is created inside the family, I can load this family into my Revit model document (rft),
The family is editable using Revit, but it´s necessary to further handle the correct position and orientation of this family in the model (manually / with GH).
Is it possible in RiR to merge this process into a single script, where I´d just pick the curve (edge) in the model document and path to the mass family file I´d like to create loft from? Maybe I´m just missing Form.ByLoftCrossSections function as shown in the video, as actual GH node (Add Mass Loft) only works in Mass document type.
The script used for profile distribution is attached, as well as conceptual mass family.
Thank you very much in advance for any hints,
Pavel
Adaptive-curve-based-family.gh (13.9 KB)
Mass_part.rfa (536 KB)