I have been working on an adaptive component (I am new to these) that works well in the adaptive component family editor, but when loaded into the project, acts very differently.
The parameter in question is the angle parameter, which measures the angle created between (3) adaptive points.
In the family editor, this parameter flexes and updates nicely and is used to drive more geometry for the family, but when loaded into a revit project, it does not update based on the angle created between the points. I have tried making this parameter a instance, reporting parameter, but it appears that those cannot be used in formulas to drive more geometry.
In the image below, you can see that the angle created between points 1,2 and 3 is more closer to 45 degrees, revit will not automatically update this parameter for me.
Any ideas on how to solve this? Family attached.
After some reading on reporting parameters and angles in the adaptive component family, it seems like the angle parameter is not the best way to achieve the family I had in mind.
I have setup the law of cosines and able to calculate the internal angle more consistently now.
https://forum.dynamobim.com/t/use-of-reporting-parameters-in-formulas/256
Yeah, kind of "pointless" with Adaptive Points. Best your Angle Parameter might do in this case, is be a Reporting Parameter.
I think you are treating an adaptive family like a non-adaptive family. The main benefit of an adaptive family is using placement of adaptive points to drive the geometry. If you forgo that benefit and instead using a parameter to control the location of the adaptive points then you might as well be using a non-adaptive family.
@ToanDN, is there another family type (other than adaptive) you had in mind that could achieve what I am looking for?
Main goal with is to have the user select (3) points and then create a polyline that connects point 1,2, and 3 to each other, with the linking line segment 1-2 and 2-3 being an arc that gets calculated based on the angle between the points.
If you choose to pick 3 points to place the family then yes an adaptive family with 3 adaptive points is correct. In this case, the angle is driven (reported) by where you pick those points. But from what you described, it's like you only need to pick 2 points, let the 3rd fall free, then enter the angle to control where the 3rd point finally located. If that is the case then you can still use an adaptive family but with only 2 adaptive points, one reference non adaptive point, and a control angle. Kind of a hybrid family. Nevertheless, looks like you got it figured out with the cosin method, so be it
Thanks to everyone for the help.
Below is a gif the family in action, I am using the adaptive component to create the minimum bend radius for rebar.
Does anyone know if autodesk has any plans to make an adaptive detail component family? This family would be a lot more useful for me if it was a detail component.
@barthbradley, That's a good point, I have not really played with the rebar tools in revit yet.
@aguterHFKHP wrote:
@ToanDN, What type of family did you have in mind? I want to prompt the user for (3) points and have them select as shown, I do not want to have to do an angle type parameter to drive the family.
I watched the gif and you entering the angle values to change the shape and I thought you wanted to do just that. So what you show is NOT what you want?
There is no entering of angles in the gif that I linked. The family dynamically changes based on the point location. The angle parameters are calculated based on the location of the adaptive points.
@aguterHFKHP wrote:
There is no entering of angles in the gif that I linked. The family dynamically changes based on the point location. The angle parameters are calculated based on the location of the adaptive points.
My bad. Watched it again from the computer and I see what you did. I would use Rebar tool. If you don't get what you need from the Rebar browser then you can sketch it.
****, I just want that free form rebar tool as a detail component!
We are not to the point yet of modelling rebar. I just want an easy, dynamic rebar tool in a drafting view.
A 2D drafting view? Why are you using adaptive points to drive 3D geometry then?
This was more of a fun project to see I could make a dynamic rebar family. The adaptive component does not achieve what I was looking for; that being a 2d rebar detail component.
maybe autodesk will someday make an adaptive detail component family type...
Can't find what you're looking for? Ask the community or share your knowledge.