PlotConstrainedTransforms 2005-05-26 - By Bradley R. Gabe
Back '-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- ' NAME: PlotConstrainedTransformsProc ' INPUT: Same parameters as PlotToAction, except the 1st param, which is ' the current selection. ' DESCRIPTION: This script is providign a shortcut for one that wants to ' plot only those transforms which are constrained on any given ' object. This script looks at the constraints and their option ' to determine which dof is being driven by the constraint, then ' calls up the PlotAction command with the proper list of params. '-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
I did a little bit of hunting and found that command in the file:
Softimage/XSI_4.2/Application/DSScripts/uixsiscripts.vbs
You can open it in your favorite script editor and do a search on 'PlotConstrainedTransformsProc'... then you'll discover how it's working under the hood. At a quick glance, I couldn't tell if there was a switch in there to determine whether or not to open a GUI, however you should be able to copy the code into your own script and feed in your own variables, thus avoiding the auto GUI.
-Brad
>Hi! > >Ok, I simply want to call the PlotConstrainedTransforms command from a >script. How on earth do I make it *not* pop up the parameter dialogue >(since I intend to feed the parameters to it *using the script*, the very >reason why I want it to be part of my script...)? > >Anybody having a quick idea? > >Cheers! > > -Andr� > >--- >Unsubscribe? Mail Majordomo@(protected) with the following text in body: >unsubscribe xsi
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|