String from Object not working

Hi,

I’m creating a basic script to place my views on sheets.
I’d like to set one the parameter of my titleblock called “Graphic scale” to the actual scale of the view I’m gonna place. I don’t understand how the value of my view scale “View Scale : 1 : 200” become “View Scale : 1 : 100” when I convert it into string.
I’m I missing something ?

I can only guess this is a bug here:

seems like something to report here if you can:

1 Like

You could try using the Built In Parameter VIEW_SCALE rather the the Value String your getting and having to break down.

2 Likes