ScriptSpot

Forum topic · General Scripting

Working Reference Coordinate System

By pi3c3 · 2013-11-27

Description

So! I found that you cannot set the toolbar reference Coordinate System to type Working from maxscript, although the listener writes out that the working ref coord system command mode is #PIVOT, but if I try to use it, it doesn't work at all.

So if you write this command to the editor:

toolMode.coordsys #pivot

And execute it,

It says: -- Runtime error: Illegal coordsys mode type: #pivot

So is there any other way to change the reference coordinate system mode to working ref coord system in maxscript?

Comments (2)

pi3c3 · 2013-11-28

HellYeah!

Thank you. I don't really know how you guessed it, but I really apprechiate it... ;) I tried to find it in the maxscript help, but nothing. So thanks again... :)

barigazy · 2013-11-27

Are you try this

toolMode.coordsys #working_pivot
--or
WorkingPivot.UseMode = on