raven opened this issue on Dec 13, 2011 · 10 posts
raven posted Tue, 13 December 2011 at 11:34 AM
I've found that lots of items that need limits set quite often exceed their limits when using the dials, however having 'Use Limits' enabled from the Figure menu is an all or nothing option, and sometimes certain items in a scene can benefit from exceeding their limits. By using the 'Force Limits' checkbox in the morph parameter settings dialog box on these objects their limits can be individually enforced.
So what I'm asking is, would it be possible to write (or rather, have written! :) ) a script that would allow enabling of the force limits checkbox on the morphs for a selected object?
I'll be honest, I think I'm probably asking for a little too much here, but hey, it's gotta be worth a shot right? :)
Gareee posted Tue, 13 December 2011 at 2:18 PM
When you double click any dial, one of the options is force limits. Isn't that what you want?
Way too many people take way too many things way too seriously.
semidieu posted Tue, 13 December 2011 at 2:43 PM
If I recall correctly, there is no python function to do this directly.
But... just to be sure... you would like a dialog that would show all the parameters from the selected object and where you would be able to check all the one you want to force limits at once... Do I understand correctly ?
raven posted Wed, 14 December 2011 at 2:09 PM
@ Gareee, yes that's the option, but when there are a lot of morphs and many body parts with morphs that's a lot of double-clicking and selecting.
@ semidieu, ideally yes. The ability to enable all/some of the force limits at once on a selected object via dialog.
The idea for this came to me when I was using the cryo chambers (former freebie from DAZ ) and moving some of the various parts and having them go through itself from over dialling the morphs, but similar problems happens with, for example, car doors, weapon parts etc.
Thanks for looking.
semidieu posted Wed, 14 December 2011 at 2:43 PM
What version of Poser ?
raven posted Wed, 14 December 2011 at 2:59 PM
I'm currently using the 64bit version of PoserPro2012.
semidieu posted Wed, 14 December 2011 at 3:41 PM
I have to check one or two little things... but I think this should be possible. As said, Poser Python do not have the function to do it... directly.
But there is a workaround... I have to test it on props and will make a little user interface...
BUT... there is no way to know if a parameter has the 'Set limits' enabled or disabled. So it won't be able to display the parameters with the limits set to on for example.
raven posted Thu, 15 December 2011 at 11:26 AM
That's ok.
Thanks again for having a go at this.
semidieu posted Thu, 15 December 2011 at 2:21 PM
Don't remember if this forum allows to attach .py file... For testing the script, can you send me an email at semidieu@shaderworks-studio.com
EDIT: Tried to attach the script - I have to rename it.
Save the file and change the extension from .txt to .py
Select the actor. If it's a body part from a figure, it will apply to the whole figure.
Run the script from File - Run python script (or save the file in the scripts menu).
Actually, no user interface - just a basic script that does set the limits to all parameters from a figure or prop.
raven posted Thu, 15 December 2011 at 4:21 PM
Many thanks semidieu, it works a treat on the items I've tested it on so far.
Great stuff! :)