Maxscript & System unit

Maxscript & System unit

Anonymous
Not applicable
519 Views
1 Reply
Message 1 of 2

Maxscript & System unit

Anonymous
Not applicable
Hi,

My problem would be having the maxscript always displaying the values
in the system unit, in my case inches. However I work in the metric Millimeter.
Although I could easily change the system unit to millimeter, I currently have
reasons that I need to stick with inches system.

So ... is there a way to make maxscript display values readout in millimeter
instead of inches, with my system unit set to inches?

Best regards,
Victor NSY
0 Likes
520 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
I don't believe there's any way to make MaxScript use metric units internally, it's always system units. You can convert them back/forth pretty easily, however, using units.decodeValue and units.formatValue.
0 Likes