Is there a way to combine a dimensional parameter and the value of a string?

Is there a way to combine a dimensional parameter and the value of a string?

Michael_Snow
Participant Participant
1,800 Views
6 Replies
Message 1 of 7

Is there a way to combine a dimensional parameter and the value of a string?

Michael_Snow
Participant
Participant

Hi All,

 

Is there a way to combine a variable "Dimension" parameter and a constant string value of an "Identity Data" parameter to create a parametric "Description" value?

 

I am creating 5 benches of varying lengths 4'-0 to 8'-0.  I would like the schedule to say "4'-0" CUSTOM BENCH".  I would like the description field formula to grab the length of the bench from the dimensional parameter, and add it to an Identity Data.
It seems simple enough to me, but I cannot get the Boolean formula to work.

 

Thank you for your time

 

This may be rudimentary but

0 Likes
Accepted solutions (1)
1,801 Views
6 Replies
Replies (6)
Message 2 of 7

ToanDN
Consultant
Consultant
Yes. For schedules, use Combine Parameters. For tags, add the parameters to a label.
Message 3 of 7

Michael_Snow
Participant
Participant

Thank you ToanND

 

I get that I can combine the parameters, but I don't want to combine them at the schedule level, because the the bench is the ONLY family in the furniture schedule that I want to do this with.

 

So I need to do it at the family level - in the formula column.

 

My issue is that I don't have the programming background to create the Boolean statement that would combine a dimensional parameter and a text string parameter.

 

If you can do that, can you post an example please.

 

Therefore, I need

0 Likes
Message 4 of 7

barthbradley
Consultant
Consultant

I can't be done in the family. 

 

Keep this handy. It's a pretty good reference.

 

https://www.revitforum.org/showthread.php/1046-Revit-Formulas-for-quot-everyday-quot-usage

 

0 Likes
Message 5 of 7

ToanDN
Consultant
Consultant
Accepted solution
It can't be done natively in Revit. You need to run a Dynamo script to combine multiple parameters to a single parameter.

https://www.revitforum.org/showthread.php/38337-Combining-parameters
Message 6 of 7

Michael_Snow
Participant
Participant

Okay no WONDER I was't getting it.

Thank you so much

0 Likes
Message 7 of 7

barthbradley
Consultant
Consultant

You're welcome. Always glad to help.  

0 Likes