Adaptive Family - Length parameter

MiguelGT17
Advocate
Advocate

Adaptive Family - Length parameter

MiguelGT17
Advocate
Advocate

Greetings to everyone,

 

I have an adaptive family that represent a baseboard:

MiguelGT17_0-1669059600699.png

I have draw a spline from the 2 adaptive points and I wish to get the length parameter visible in the family parameters, is this doable?

I've manage to place baseboards in every room automatically through revit API and I can calculate the length value using simple maths but the problem comes when the user wants to edit the baseboard himself after using the plugin

MiguelGT17_1-1669059736082.png

 

the length parameter created by me, would not be able to update its value. Any directions to get length value from the adaptive family?

 

All the best,

Miguel G.

 

0 Likes
Reply
Accepted solutions (1)
2,173 Views
12 Replies
Replies (12)

ToanDN
Consultant
Consultant

Place a dimension in the family between 2 points and assign an instance, reporting (a must), shared (only if you need to schedule it) parameter to it.

 

0 Likes

MiguelGT17
Advocate
Advocate

Thanks for you quick reply! I've been trying to do it but it seems that  I'm overconstraining the family

MiguelGT17_0-1669060344211.png

 

I'm attaching the family baseboard, would you mind setting the dimensions? that would be awesome!

 

best regards,

Miguel G.

0 Likes

barthbradley
Consultant
Consultant

@ToanDN said REPORTING Parameter. 

 

But, I think this would be a better Family if done a Line-Based Family Template myself. 

barthbradley
Consultant
Consultant

Wait a minute... did you say Wall Base Board?

 

Why not do it as a Wall Sweep then?  

0 Likes

ToanDN
Consultant
Consultant
Accepted solution

ToanDN_1-1669061203282.png

 

ToanDN_1-1669061292321.png

 

 

ToanDN_0-1669061266918.png

 

 

 

MiguelGT17
Advocate
Advocate

With Wall base line, I'm struggling to connected then at the corners:

when I drag one of them,

 

MiguelGT17_1-1669061894501.png

the next thing that it happens is that the endpoint goes back to the same location

MiguelGT17_2-1669061936293.png

.

The team doesnt want to use wall sweeps or wall families because in the future some units will need to have a different baseboard profile and it'll become a pain to give the shape using walls or railings.

 

 

 

 

 

0 Likes

barthbradley
Consultant
Consultant

@MiguelGT17 wrote:

 

The team doesnt want to use wall sweeps or wall families because in the future some units will need to have a different baseboard profile and it'll become a pain to give the shape using walls or railings.

 


 

Switching the Profile of a Wall Sweep is easy-peasy.  Plus, if you wanted to add more "I" in your "BIM", you could create different named Family Types that use different Profiles. 

 

 

Base Board1.pngBase Board2.pngBase Board3.png

Base Board4.png 

 

MiguelGT17
Advocate
Advocate

Thanks barth! for the insights I will bear in mind this one and will definitely discuss it with the arch team

0 Likes

MiguelGT17
Advocate
Advocate

Hi @barthbradley I see wall sweep does not have an option to pass curveloops: 

MiguelGT17_0-1669152522867.png

other way it will be a pain to place the baseboards automatically because the team will need to drag some endpoints manually: 

MiguelGT17_1-1669152601630.png

It almost solved our problems, it was nice to have a look on it

 

All the best,

Miguel G.

0 Likes

barthbradley
Consultant
Consultant

@MiguelGT17 wrote:

 

 it will be a pain to place the baseboards automatically because the team will need to drag some endpoints manually: 

 


 

A "pain"? More painful than placing baseboards in linear 2-point Adaptive Point segments? Seems to me that method would more "painful", as well as more time-consuming and frustrating.  

 

Let's put it to the test. My team placing baseboards as Wall Sweeps and your team placing baseboards with your 2-Point Adaptive Point Family. Let's see whose team ends up with the most injuries.  he, he. 

 

😉      

 

 

MiguelGT17
Advocate
Advocate

Fair enough!

By the way, we ended up choosing railings, the only problem with this matter is that we need an algorithm that helps us to connect continuos line segments to create curveloops. Checkout this post:

Once it's done, I'm almost sure we can beat any team that place baseboards

0 Likes

dali.jmal
Enthusiast
Enthusiast

Hello, i have the same problem. I found out that report parameter will solve it, but in this case i have a total length=l1+L2+L3 (Polygone geometry). Report parameter could not be used in formula to summ all 3 . any help....Thanks

0 Likes