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: 

Adding parameter value to text string in "description"?

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
johnw
6680 Aufrufe, 3 Antworten

Adding parameter value to text string in "description"?

I wish for the "Description" line under "Identity Data" in the Family Parameters dialog box to take the value of my Fixed Glass Height parameter and display that height in my text string. Let's say my fixed glass value was 2'-0"... the line needs to read as follows:

 

in "Formula" field:

 

w/ Fixed Glass Height Parameter Here H. F.G. ABV. 

 

 

in "Description" field:

 

w/ 2'-0" H. F.G. ABV.

 

Also, please see attached.

 

Can this be done? Please say yes.... 

 

Thank you!

 

 

3 ANTWORTEN 3
Nachricht 2 von 4
ToanDN
als Antwort auf: johnw

You cannot directly bring a value of Length parameter to become a piece of text in a Text parameter.  But if you only have a few Fixed Glass Height values then there is a workaround.  Ain't worth it if you have more than a hand full.

Nachricht 3 von 4
johnw
als Antwort auf: ToanDN

The thing is the value that I need can vary. I would say there could be as many as 5 different set heights that I would need.

I was thinking about saving them as a family type but I have so many variations that this would become quite hard to manage all of them.
Nachricht 4 von 4
ToanDN
als Antwort auf: johnw

I did that to identify Width of modular casework.  But the formula is based on a set of known dimension:  

if Width = 1'-3" then ID = 1, ... so on... and if Width doesn't match the list above then ID = 9.

 

formula:

 

if(Width = 1'  3", "1", if(Width = 1'  7", "2", if(Width = 1'  9", "3", if(Width = 2', "4", if(Width = 2'  6", "5", if(Width = 3', "6", if(Width = 3'  6", "7", if(Width = 4', "8", "9"))))))))

 

 

 

Where do you want to show the Description?  If it is in a Tag then you can add prefix/suffix to the Height value.  If it is in a schedule then combine columns of static text with the Height column.

 

If you know Dynamo you maybe able to extract the Height value to text and inject it into the Description field.

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