Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Adaptive Component - Angle to Drive Geometery

16 ANTWORTEN 16
Antworten
Nachricht 1 von 17
aguterHFKHP
1281 Aufrufe, 16 Antworten

Adaptive Component - Angle to Drive Geometery

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.

post1.PNG

post2.PNG

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.


post3.PNG
Any ideas on how to solve this? Family attached.

Beschriftungen (1)
16 ANTWORTEN 16
Nachricht 2 von 17
aguterHFKHP
als Antwort auf: aguterHFKHP

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

Nachricht 3 von 17
barthbradley
als Antwort auf: aguterHFKHP

Yeah, kind of "pointless" with Adaptive Points. Best your Angle Parameter might do in this case, is be a Reporting Parameter.  

 

 

Angle Report.png

Nachricht 4 von 17
ToanDN
als Antwort auf: aguterHFKHP

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.

Nachricht 5 von 17
aguterHFKHP
als Antwort auf: ToanDN

@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.

Nachricht 6 von 17
ToanDN
als Antwort auf: aguterHFKHP

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 

Nachricht 7 von 17
aguterHFKHP
als Antwort auf: ToanDN

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.

 

aguterHFKHP_0-1642629750578.gif

 

 

Nachricht 8 von 17
barthbradley
als Antwort auf: aguterHFKHP

They kind of do already.  Sketch Free Form Rebar.  

Nachricht 9 von 17
ToanDN
als Antwort auf: aguterHFKHP

You can do the same with a normal detail component family.
Nachricht 10 von 17
aguterHFKHP
als Antwort auf: ToanDN

@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.

Nachricht 11 von 17
aguterHFKHP
als Antwort auf: barthbradley

@barthbradley, That's a good point, I have not really played with the rebar tools in revit yet.

Nachricht 12 von 17
ToanDN
als Antwort auf: aguterHFKHP


@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?

Nachricht 13 von 17
aguterHFKHP
als Antwort auf: ToanDN

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.

Nachricht 14 von 17
ToanDN
als Antwort auf: aguterHFKHP


@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.

 

ToanDN_1-1642632378564.png

 

ToanDN_0-1642632330569.png

 

Nachricht 15 von 17
aguterHFKHP
als Antwort auf: ToanDN

****, 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.

 

 

Nachricht 16 von 17
barthbradley
als Antwort auf: aguterHFKHP

A 2D drafting view?  Why are you using adaptive points to drive 3D geometry then? 

Nachricht 17 von 17
aguterHFKHP
als Antwort auf: barthbradley

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...

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report