Convert number to text in revit formula

alena_karle8XSX6
Observer

Convert number to text in revit formula

alena_karle8XSX6
Observer
Observer

hello 👋

How can I convert number to text in revit formula, so I don't receive an error that the units are inconsistent?

The goal is that text parameter will display the value of a number parameter.

As you can see I've tried many ways, but none of them has worked.

Thank you for any ideas in advance!

0 Likes
Reply
997 Views
4 Replies
Replies (4)

Simon_Weel
Advisor
Advisor

Not. Take a look at this - Revit Formulas for "everyday" usage

Alfredo_Medina
Mentor
Mentor

Parameter "Text" is expecting a string, not a number, nor length, nor integer. It can display "2" as a string, but it cannot work with actual numbers.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin

ToanDN
Consultant
Consultant

It can only done via dynamo. You can search for the answer on dynamobim forum.

alena_karle8XSX6
Observer
Observer

Thank you for your answers!

In the end I did in dynamo and used Python.
In case you need it - the dynamo file is attached.

0 Likes