Adaptive Family - Show Surface in Tags

Adaptive Family - Show Surface in Tags

Faruk_B
Explorer Explorer
1,764 Views
10 Replies
Message 1 of 11

Adaptive Family - Show Surface in Tags

Faruk_B
Explorer
Explorer

Hello all...

 

I have used Generic Adaptive Family Template to define 4 points shape as shown in picture below 

 

Family is set under Facade Elements Category, so when I load family in Project Environment and I define 4 points

I get surface automatically from Revit calculated

 

Unbenannt1.PNGUnbenannt.PNG

 

Now my goal is to make Facade Elements Tag so when I tag the instance of Family I get surface from Properties tab written in the tag, but I am not able to get Surface parameter weil defining a tag so that I can connect label with parameter 

 

Does anyone please knows the way, how to make tag family that is able to read surface of adaptive extrusion that already exist in properties

 

Thanks a lot for all your help in advance

 

 

 

 

 

 

 

 

 

 

 

0 Likes
Accepted solutions (1)
1,765 Views
10 Replies
Replies (10)
Message 2 of 11

BogdanMatei
Alumni
Alumni
Accepted solution

Hi @Faruk_B ,

It's not very easy, but here it goes 🙂

 

We need a shared parameter that contains the area of the quadrilateral form the curtain panel has. This parameter can then be inserted into a tag. 

 

In the curtain panel adaptive family, I have made reporting parameters for all the sides and 2 opposite angles.

reporting parameters.PNG

These reporting parameters, in order to be used in formulas, need to have their dimension lines to host elements in the family. In this case the dimensions are referencing the adaptive points and the angles are set to the reference lines that drive the extrusion. You may have to TAB to get to them.

 

Then I added the shared parameter called "BM_Area" and used the formula:

BM_Area = (a*d*sin(ang1))/2+(b*c*sin(ang2))/2

This is the general formula for the area of a non-regular convex quadrilateral.

formulas.PNG

After that I created a tag family for curtain panels where I added the shared parameter BM_Area.

exampleareatag.PNG

 

 

 



Bogdan Matei
Product Manager, Revit Cloud Worksharing
Message 3 of 11

Faruk_B
Explorer
Explorer

Hallo Bogdan,

 

thanks a lot for so detail answer it helped me a lot

 

I tought there is some way to connect this values that Revit calculates with tags but aperently no

 

Its a shame that value exist inside Revit and can be scheduled but it can not be connected to tag

 

Thanks again for help

 

Regards

Faruk B.

0 Likes
Message 4 of 11

revitnation
Enthusiast
Enthusiast

Dynamo can often fill the gaps between Tags and Projects. Try posting on the Dynamo Forum as this seems to be one of those gaps. Good luck and report back if you find a solution.

0 Likes
Message 5 of 11

ToanDN
Consultant
Consultant
You can generate a roof or a wall by face then tag it to show the area.

Or, perhaps use Dynamo to write the area to a shared parameter in order to tag it directly.
0 Likes
Message 6 of 11

BogdanMatei
Alumni
Alumni

I would normally go to Dynamo for this, that's true, but be careful about the areas.

For instance, in my family, the calculated area by formula shows the correct one.

test area.PNG

At least check it before as I might have done something wrong in the family 🙂

 

 



Bogdan Matei
Product Manager, Revit Cloud Worksharing
0 Likes
Message 7 of 11

Faruk_B
Explorer
Explorer

Hallo Bogdan,

 

yes I have checked the formula and it is calculating good

 

Now when I was doing some more research I found out that metod you suggested works perfect with Pattern Based Adaptive Family Template, but when I tried to use the same method with classical Adaptive Family Template I get strange warning from Revit

Unbenannt2.PNG

 

 

sorry for the language but in principe warrnig says: "Reporting parameters can be only used in formulas when the dimensions of reporting parameters are measuring edges (or lines) of elements"

 

In principle I am able to define Length and Angle Reporting parameters and I have those values that are changing with family as I move the points but I am not able to use them in formula

 

I tried to reference dimension lines to adaptive points, then to end of reference lines and also to corners of the extrusion but the results was the same

 

I suppose that there is some difference between this two templates that I was not able to find and that is not allowing Revit to make calculations

 

Thank you once again for your solution and if I found out what is a difference I will let you guys know

 

 

 

0 Likes
Message 8 of 11

bin
Advisor
Advisor

You will need to put the angular report parameter onto the points only, not the reference lines. 

 

0 Likes
Message 9 of 11

bin
Advisor
Advisor

Be careful when using this method, because your surface might be curved while the formula will get you the surface of 2 straight faces. 

0 Likes
Message 10 of 11

Faruk_B
Explorer
Explorer

yes,thanks for reply....but unfortunately I am not able to add angle dimension between point that are connected with reference lines, i am able to select them only if they are alone

0 Likes
Message 11 of 11

bin
Advisor
Advisor

Can’t test it since I’m on my phone, if you can not get the angle to work, you can get the dimensions of point 1&3 or 2&4 and use the formula 

Area=sqrt(p*(pa)*(pb)*(pc))

where p is half the perimeter, or

(a+b+c)/2. 
Still, the result will only be correct if all these 4 points are on the same plane. 
0 Likes