tyFlow Forum
TyPreview string - how to ? - Printable Version

+- tyFlow Forum (http://forum.tyflow.com)
+-- Forum: tyFlow Discussion (http://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (http://forum.tyflow.com/forum-2.html)
+--- Thread: TyPreview string - how to ? (/thread-1989.html)



TyPreview string - how to ? - NikNok - 10-09-2020

Hello there.

In the maxscript string of TyPreview, I'd like to add a text before a value.

ex : "Focal lengh = " as string + $PhysCamera001.focal_length_mm

I just would like to know where I am wrong in this code line.

Thanks


RE: TyPreview string - how to ? - NikNok - 10-09-2020

(10-09-2020, 02:36 AM)NikNok Wrote: Hello there.

In the maxscript string of TyPreview, I'd like to add a text before a value.

ex : "Focal lengh = " as string + $PhysCamera001.focal_length_mm

I just would like to know where I am wrong in this code line.

Thanks

got it, the code line should be as follow :

print ("Focal lengh = " + $PhysCamera001.focal_length_mm as string)