# String from Object not working

**URL:** <https://forum.dynamobim.com/t/string-from-object-not-working/42358>\
**Category:** Revit\
**Created:** [October 25, 2019, 6:09pm UTC](https://forum.dynamobim.com/t/string-from-object-not-working/42358 "2019-10-25T18:09:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anton](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Anton](https://forum.dynamobim.com/u/Anton)\
**Post date:** [October 25, 2019, 6:09pm UTC](https://forum.dynamobim.com/t/string-from-object-not-working/42358/1 "2019-10-25T18:09:12Z")

</div>

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 ?

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f720dcaa53e2fd83cf3b80232a5daaadc85e2dc2.jpeg)

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner2/32/75576_2.png) [@Michael\_Kirschner2](https://forum.dynamobim.com/u/Michael_Kirschner2)\
**Post date:** [October 25, 2019, 7:32pm UTC](https://forum.dynamobim.com/t/string-from-object-not-working/42358/2 "2019-10-25T19:32:10Z")

</div>

I can only guess this is a bug here:

> <https://github.com/DynamoDS/DynamoRevit/blob/master/src/Libraries/RevitNodes/Elements/Parameter.cs>

seems like something to report here if you can:

> **[DynamoDS/DynamoRevit](https://github.com/DynamoDS/DynamoRevit/issues)**
>
> Dynamo Libraries for Revit. Contribute to DynamoDS/DynamoRevit development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [October 25, 2019, 8:41pm UTC](https://forum.dynamobim.com/t/string-from-object-not-working/42358/3 "2019-10-25T20:41:10Z")

</div>

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