how to print in MAXscript Listener
Hello
I made a little "script" to change viewport FOV :
-------
a = viewport.GetFOV()
a = a + 15
viewport.SetFOV a
completeredraw()
print a
-------
when I run this from Maxscript Listener it is ok : I have a.value printed
But when I run this in a .mcr, this don't works...
I have other scripts where "print" works as I expect.
If somebody can help :-)
Comments
Fov
Utility FieldOfView "Field of View"
(
slider fov "Field of View" pos:[17,43] width:128 height:44 range:[25,100,viewport.GetFOV()] type:#float
on fov changed val do
(
viewport.setFOV val
)
)
Try format "%\n" a
Try
format "%\n" a
Thanks Garp, seems to
Thanks Garp, seems to work.
But in fact print works now too (?!?)... (?)!
or to print like "USE WP"
or to print like "USE WP"
Anybody ?
Anybody ?