TyPreview string - how to ?
#1
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
  Reply
#2
(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)
  Reply


Forum Jump: