I wanted to know if it is possible to prevent the associated PPG of a
command popping up when called via script. For example, if you use the
ImportModel command the PPG pops up.
Thanks,
Dwayne
--------------------------------------------
Eric Thivierge
Technical Director
http://www.ethivierge.com
lm = xsi.LogMessage
def logOff(msg = "Logging has been turned off"):
pref = "preferences.scripting.cmdlog,
preferences.scripting.msglog, preferences.scripting.msglogverbose,
preferences.scripting.cmdlog, preferences.Interaction.autoinspect"
lm(msg, 32)
xsi.SetValue (pref, False)
def logOn(msg = "Logging has been turned on"):
pref = "preferences.scripting.cmdlog,
preferences.scripting.msglog, preferences.scripting.msglogverbose,
preferences.scripting.cmdlog, preferences.Interaction.autoinspect"
xsi.SetValue (pref, True)
lm(msg, 32)
Poincloud guides have in Postsimulation an Icetree with 3 KH2bend
compounds (with turbulize around value).
there are no simulation Icetree
The rendering crashed (at frame 140 other 200) because memory went above
14Gb...
I thought, as there was no sim, the hair bend movements would be the
same, unfortunatly they are not. Rerendering from frame 140 didn't match.
So I need to cache the sim.
Do I need to cache(cacheonfile) at postSimulation level ? is there a
special procedure (I can't remember exactly how I did the last time I
used this super pluggin)
Thank's all
Olivier
Honestly I have no idea what's happen...
if there is no simulation, I think you can load cache anywhere in stack. But, if
you want to remove original ICE tree, you'll need a good bit of work, just to
keep the all custom attributes. If original ICE tree is still active, I'm afraid
the same process will perform two times.
What happen if you render this using segment type, instead of render-time
extrusions...
Could you use some of "render frame by frame" script, instead of sequence...
Cheers
I'm doing some close up(camera flies through the top of the skull) and I
was using Blinn shading to get nice specular. The Hair Renderer looked
blurry so I turned segments to capsules.
Rendering time is good (demi HD)
Maybe, when that hairy stuff will be less top secret (agency maniacs) I
can send you some pic :)
Anyway, Kristinka is real great (easy to "brush", tons of controls, I
love the "is active" output) and I got my setup done in a night.
Thanks a lot :)
Olivier
Le 13/01/2011 10:09, Anto Matkovic a �crit :
I thought of that solution. I don't want to do that for this script
because I think it is too small to mess around with user's preferences.
It is safe to use this method
--------------------------------------------
Eric Thivierge
Technical Director
http://www.ethivierge.com
https://gist.github.com/786568
Cheers,
Patrick
On Thu, Jan 13, 2011 at 9:52 AM, C�sar S�ez <cs...@kandorgraphics.com> wrote:
> Take a look into python's decorator, they're perfect for this kind of
> situation ;)
>
> ---
> Regards,
> C�sar S�ez
-----Original Message-----
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Patrick Boucher
Sent: January-19-11 1:09 PM
To: soft...@listproc.autodesk.com
Subject: Re: Stop PPG Pop-ups in scripts
Here's an example people can fork off of.
https://gist.github.com/786568
Cheers,
Patrick
This message, including any attachments, may contain privileged and/or confidential information. Any distribution or use of this email by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and delete all copies. Thank you.