I am fairly new to Mascript and Autodesk - I have a simple script, that places a camera and I want to change the FOV, horizontally and vertically.
I am using the example provided from Max-Script Documentation, and my script looks like the following:
rgb_cam = freecamera name: "foo" position:[0,0,0]
rgb_cam.fov Float default: 45.0
The second command gives me the error:
-- Type error: Call needs function or class, got: 45.0
-- MAXScript callstack:
-- thread data: threadID:8848
-- ------------------------------------------------------
-- [stack level: 0]
-- In top-level
So I guess, that the way the function is called is wrong, however the documentation said so. Lastly, this will only change the horizontal fov, not the vertical one - how can I change it via MaxScript?
I am using Autodesk 3ds Max 2018 - Student Version