Notifications
Clear all

[Closed] Newbie: System Units

fn createTargetLight =
(
z = 200
TPhotometricLight02 = Target_Light pos:[0, 0, z]
)

createTargetLight()

This function creates a light placed at [0, 0, 20000,0cm]

I have set the system units to centimeter and opened a new file before testing the script.

Why is z multiplied with 100 ??

2 Replies
 lo1

check that:

  1. You’ve set the system units to 1.0 centimeters, and not a different amount.
  2. Your display units are the same.

It works fine for me.

1 Reply
(@spica)
Joined: 11 months ago

Posts: 0

Its been way too long since I played around with max, I completely forgot to set the system units !

Thanks a lot Io, saved my day…