Showing Both Metric and Imperial Scale in View Port w/ Shared Parameters

Showing Both Metric and Imperial Scale in View Port w/ Shared Parameters

Anonymous
Not applicable
1,223 Views
8 Replies
Message 1 of 9

Showing Both Metric and Imperial Scale in View Port w/ Shared Parameters

Anonymous
Not applicable

I work at the cabinet company that imports the materials from Europe, and am a very novice in Revit. In my free-time at work, I'm trying Revit to see how our designers/salesperson can benefit from it and to set up the templates and family library as simple as possible.

.

So according to the forum below, I can use a shared parameter to show both imperial and metric systems in viewport manually.

https://forums.autodesk.com/t5/revit-architecture-forum/how-to-show-metric-and-imperial-scale-at-the...

 

but, Do you think it is possible to use a formula like below in 'Edit Label'  so that the label works "smart"? 

Caculated Value > Discipline: Common > Type: Text> Formula>

IF ( View Scale = 1 : 25, 1/2" = 1'-0", IF ( View Scale = 1 : 50, 1/4" = 1'-0" ))

 

Test_1.PNG

 

I tried but it didn't work. But I decided to ask in case of how i tried is incorrect.

 

0 Likes
Accepted solutions (1)
1,224 Views
8 Replies
Replies (8)
Message 2 of 9

barthbradley
Consultant
Consultant

That formula doesn't make any sense.  Is there more to it?  Plus, you need quotation marks around text values.  

Message 3 of 9

Anonymous
Not applicable

Sorry, my mistake to not include the formula.

I edited the original post.

Quotes around the texts like this?

IF ( View Scale = 1 : 25, "1/2" = 1'-0"", IF ( View Scale = 1 : 50, "1/4" = 1'-0"" ))

0 Likes
Message 4 of 9

ToanDN
Consultant
Consultant
Accepted solution

1:25 isn't 1/2" = 1'.  There is no point to show the scale if they are incorrect.  Plus, you can type in anything in the custom scale for the view titles.

 

Annotation 2019-12-02 131831.png

Message 5 of 9

Anonymous
Not applicable

Very nice.

0 Likes
Message 6 of 9

barthbradley
Consultant
Consultant

WTF?!  That's the solution?!  Thread closed?!  @ToanDN bangs another?!  

 

Whatever. Bye, bye.

 

 

 

 

0 Likes
Message 7 of 9

Anonymous
Not applicable
Ultimately yes, his way sovles the problem. But I'm still curious of Revit formula because I want to learn and get better. So please let me know if you can teach me a thing or two about it!
0 Likes
Message 8 of 9

ToanDN
Consultant
Consultant
View Scale is a text parameter so you cannot use it in a if then formula.
0 Likes
Message 9 of 9

Anonymous
Not applicable

That's interesting. IF statement cannot be used for text parameter. Thank you.

0 Likes