Obtaining View Scale values from Revit sheets

Hi all, this is my first post.
Can anyone explain why Dynamo reads View Scales from Revit as grade rather than fraction? I tend to obtain values such as 1:5, 1:10, 1:100 etc. but instead I get only 5, 10, 100 etc.
image

This is how Revit stores the data - this number is the denominator of the scale factor, that is 1/1, 1/2, 1,48, etc.

Thanks, but can anyone suggest what to do or how to solve this? I’ve seen people extract full scale using the same nodes…

Not with the same nodes, but with other nodes it is possible. If you want the value as a string instead of as the internally saved value, you need to tell Revit to return the value in the other format.

This image illustrates what you’re doing, one way to get the value you want via nodes, and a way to get the value you want using python.

The python can be found on this post.

1 Like