Are you making a custom transform gizmo Jeremie ?
On 5 February 2014 21:04, Jeremie Passerin <[email protected]> wrote: > Fantastic ! > > Thanks Steven > > > On 5 February 2014 11:56, Steven Caron <[email protected]> wrote: > >> xsi.ActiveToolName() >> >> >> http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=si_om/XSIApplication.ActiveToolName.html,topicNumber=si_om_XSIApplication_ActiveToolName_html >> >> s >> >> >> On Wed, Feb 5, 2014 at 11:54 AM, Jeremie Passerin <[email protected]>wrote: >> >>> Hey guys, >>> >>> is there a way to detect the current active transform tool ? Translate, >>> Rotation, Scaling or None ? >>> >>> Animators wants me to add something to our synoptic where they click on >>> a button and it set the transform tool to Rotation + Add >>> >>> I got the "Add" part easily by using >>> xsi.SetUserPref( "3D_TRANSFO_REFERENTIAL_CHANGED", 70 ) >>> >>> and I though I could set the transform tool to rotation by using >>> xsi.RotationTool() >>> >>> >>> but unfortunately this is a toggle command, which means if they are >>> already using rotation, it will switch back to the previous tool they used. >>> >>> Is there a way to detect the current transform tool ? or force the >>> rotation tool to be active ? >>> >>> >>> >>> thanks, >>> >>> Jeremie >>> >> >> >

