PlotConstrainedTransforms (script snippet attached) 2005-05-26 - By André Adam
Back Thanks again, works beautifully now, attached you can find my jscript version of that piece of code, if anyone's interested...
Cheers!
-André
Bradley R. Gabe wrote:
> I did some more hunting in the uixsiscripts.vbs file and it looks like > the PlotConstrainedTransforms() command is split into 3 main functions: > > -The first function finds the constrained parameters. > -The second gets user input from the GUI > -The third takes the user input and pipes it into the > PlotAndApplyActionProc() function which is the same one used by that > command. > > So the easiest way may be to copy the first and third functions and > hack them into your own custom command. > > Incidentally, the PlotAndApplyAction() command used to be really > annoying to use. The description of the first argument was wrong in > the online docs, and if you didn't feed in the right input type, the > command would raise an error without telling you which of your > arguments were right or wrong. > > -Brad > >> Thanks to all those quick answers! Rafe, unfortunately part of the >> problem is that the dialogue gets filled with default values, so >> surpressing the pop up alone doesn't help. Thanks anyways. Looks like >> I'll have to dig out the constrains and feed the appropriate >> parameters to the PlotAndApplyAction command, which will be a >> combination of what Brad and Aloys suggested. >> >> Thanks again! >> >> -André >> >> >> André Adam wrote: >> >>> 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é >>
|
|