Combining Parameters With Units (A, V, etc) In a Text Parameter

Combining Parameters With Units (A, V, etc) In a Text Parameter

ebsoares
Collaborator Collaborator
861 Views
7 Replies
Message 1 of 8

Combining Parameters With Units (A, V, etc) In a Text Parameter

ebsoares
Collaborator
Collaborator

Hi, all.

I have a "detail item" family with "current" (amperage) and "electrical potential" (voltage) parameters. I would like to create a "text" parameter that includes those parameters above plus some other text.

For example:

  • ParamA (current parameter) = 100.0A
  • ParamV (electrical potential parameter) = 208V
  • ParamT (text parameter) = and("ampacity = ", ParamA, " on system ", ParamV)
  • Resulting ParamT text: ampacity 100.00A on system 208V

 

If it's possible, could you let me know how to do it?

Thanks in advance,

Edgar

0 Likes
Accepted solutions (2)
862 Views
7 Replies
Replies (7)
Message 2 of 8

crapai
Advocate
Advocate
Accepted solution

As far as I know, it is not possible.

 

You should vote here. If you want this functionality. It wont actually do anything, but it might make you feel better.

https://forums.autodesk.com/t5/revit-ideas/concatenation-of-parameters-within-families/idc-p/1146837...

0 Likes
Message 3 of 8

ebsoares
Collaborator
Collaborator

It does feel better, @crapai  😂

Not what I wanted to hear, but thanks for letting me know anyway...

0 Likes
Message 4 of 8

crapai
Advocate
Advocate

In the past I've made complicated nested if statements to accomplish this, but eventually they would need something not in the nested if statement and I just blew it up and told people to just enter the info twice. 

0 Likes
Message 5 of 8

ToanDN
Consultant
Consultant

@ebsoares wrote:

Hi, all.

I have a "detail item" family with "current" (amperage) and "electrical potential" (voltage) parameters. I would like to create a "text" parameter that includes those parameters above plus some other text.

For example:

  • ParamA (current parameter) = 100.0A
  • ParamV (electrical potential parameter) = 208V
  • ParamT (text parameter) = and("ampacity = ", ParamA, " on system ", ParamV)
  • Resulting ParamT text: ampacity 100.00A on system 208V

 

If it's possible, could you let me know how to do it?

Thanks in advance,

Edgar


You can create combine parameters in a detail item schedule, or a combine labels in a detail item tag family.

0 Likes
Message 6 of 8

ebsoares
Collaborator
Collaborator

True. But I was looking at having it all inside the family itself, which is different from that. But thanks anyway, 
@ToanDN  👍

0 Likes
Message 7 of 8

iainsavage
Mentor
Mentor
Accepted solution

I almost didn’t read this post because it was marked as solved.

Apart from voting for an idea (is that a solution?), for the time being I think the answer would be Dynamo to extract values from various parameters, convert those values to strings and then combine into one string which is then set as the value of a new parameter.

Message 8 of 8

ebsoares
Collaborator
Collaborator

Thanks, @iainsavage. The OP probably wasn't very clear on this, but I was looking for a "native" way to do so in Revit (combine parameters of different units into a single parameter), without the use of Dynamo, schedules, or anything else.

@crapai's response what that it was "not possible" to do so "natively" - which I believe actually answers the question (thus got it solved). His comment about voting to add that functionality was simply an added suggestion 😉.

I believe that "solutions" are what fit the OP's questions (or further edits of it) as close as possible - even if that solution/answer simply is "not possible" - cause then it can help others with the same issue to understand they might need to go on a new direction (like, in this case, using Dynamo, schedules, or nested labels).

I do appreciate your post, however - Dynamo does seem like a nice way to try to get it to work (in my case, a nested label did the trick) - Thanks @iainsavage 😄

0 Likes