I wanted to check if it would be possible to add getting model line references from a family, currently it works with geometry inside the family, but not for model lines as shown below.
The image is showing a simple family with just model lines inside and an example of the expected output.
Just wanted to add that I assumed model lines would be part of the output references since they are part of the 3D geometry of the family and not like the 2D symbolic lines.
Either way having it as a separate component along with the named ref planes or as an added output for the current āEle Geom Refsā would be great.
An extra feature which would be great to have, is an option of picking if I want to get the references for the Instance or Symbol Geometry Referencesā¦ will elaborate on the use case tomorrow along with some other feature requests that complement the usage for Symbol References, which I believe would be a nice addition to have natively in RiR.
So the features I am mentioning above are related to adaptive familiesā¦ and since adaptive families can be flexible with geometry and generate native Revit elements that can be further modified by users inside project or even to facilitate the process of setting up the adaptive families initiallyā¦
"For setting up the family, placing and renaming Reference Points can be a tedious task when working with multiple families and having complex geometry that require being controlled by various AdpPts.
Below I have shared a sample for the kind of components that I believe would be a great addition to the existing arsenal of native RiR components with there various options and stability.
For the current use cases, we would be using them for the kind of modeling thatās usually tiresome and sometimes hard to model in Revit with native modeling tools (eg. bridges , tunnels, trenches, some railings and fences)."
ā¦it would be great to get the most out of adaptive families through RiR integration and open up some new workflows for using GH with Revit.
Hopefully, others would chime in and share if it would be handy for them to have such functionalities and share how they would use and benefit from themā¦
Thanks Mohamed, Iāll dig into this a bit. One concerning note is that it appears they removed a number of categories in the 2024 Generic Model Adaptive.rfa template.
Iām a bit of a layman about Python, but Iām currently using its components and theyāre great!
However, I would like to know if something is possible. In the āAdd and Host Adaptive Profile Family to Ref pointsā component, Iām having some issues with using Type.
So, I would like to know if it is possible to adapt the component to use Model Lines instead of Types with Model Lines inside them.
If it is not possible, I would like to know why this component is not working for me.
Iām really trying to understand the Python model, but unfortunately it hasnāt worked.
Thank you for your attention in advance!
In my family, Iām creating Model Lines from a DWG import. Any one works, as long as it is a closed flat shape, like a polyline. ERROR.gh (32.0 KB)
Thereās just one detail that Iām not sure if it was from my component flow or something else, but when I move the reference point the solid doesnāt adapt like it did in the first video of this post, could you help me sort that out, please?
On my profile, I made a small flow to turn any DWG closed profile into a geometry acceptable for Revit, my goal is to create solids from aluminum profiles in series.
Please note that the above workflow you are looking for is how Revit deals with creating form with model lines directly generated inside the parent familyā¦
To achieve what you are looking for you will need to create the model lines inside a nested family > place it > get curve references > creat formā¦ you can find below for your reference.
NB:
You canāt create a nested family directly inside a family document (maybe @Japhy or @kike can let us know if itās only an issue on my side or itās working as expected)ā¦ so you will need to have a project document open in the back ground > create the family using that document > save the family to path on your computer > load it back into the family document.
Make sure the āSymbolicā bool is set to false on the āComponent Family Curveā component.
Note using this workflow i needed to adjust the shift paths and data tree before the last component (I think i forgot to save that step before sharing), so make sure the input for the below S for last component is equal to the number of segments in one family/curve
Also you need to use the parameter component āWork Planeā before āAdd Component (Work Plane)ā because the component fails to convert/cast the output python Sketchplane directly. (Also, maybe Japhy or Kike can have a look at that one).
Thank you very much for your help Mohamed, it will help me a lot!
Sorry for the delay in thanking you, my company went on vacation on the day I last posted, and this login is from the company, so I couldnāt log in during the vacation.