Re: [Nuke-users] Expression to control Switch at render time

2011-10-25 Thread Chris Bevan

Does this do what you want?

nuke.env['interactive']

... similarly to:

nuke.env['gui']

- Chris

On 24/10/11 21:12, Frank Rueter wrote:

this is actually something I would over to see: a differentiation between 
render in gui and interactive session in gui so things like $gui work as 
expected without hacking yet another callback.
has anyone reported this as a feature request?


On Oct 25, 2011, at 8:08 AM, J Bills wrote:


i bet the only way to do it would be a beforeRender callback that
turns off a master Switch that the rest are clones of.

On Mon, Oct 24, 2011 at 9:42 AM, Andreas Jablonka
andreas.jablo...@gmail.com  wrote:

thats true I assumed thats what the OP wanted to do! local work then farm render

On Mon, Oct 24, 2011 at 5:32 PM, Julien Chandelle
julienchande...@gmail.com  wrote:

the $gui fonction works only if you make the render without the user
interface like trough a renderfarm, it doesn't work if you render in nuke
localy

On Mon, Oct 24, 2011 at 5:48 PM, Andreas Jablonka
andreas.jablo...@gmail.com  wrote:


how about putting an expression on the disable knob? $gui will disable
the switches on rendertime.

On Mon, Oct 24, 2011 at 4:45 PM, BillRay
nuke-users-re...@thefoundry.co.uk  wrote:

Hi ,
Does anybody know how I can control a switch node in a script from
further
down stream.

I want to be able to turn switches on/off at render time.

Thanks!
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




--
Julien Chandelle
GSM : +32 (0) 494 277 542
julienchandelle.be
@jimbiscuit || imdb
|| Nuke , AE  Fusion Compositor ||


___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


--
Chris Bevan, Senior Software Engineer
The Foundry, 6th Floor, The Communications Building
48 Leicester Square, London, WC2H 7LT
Tel: +44 (0)20 7968 6828 | Fax: +44 (0)20 7930 8906
Web: www.thefoundry.co.uk

The Foundry Visionmongers Ltd
Registered in England and Wales No: 4642027
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] Expression to control Switch at render time

2011-10-24 Thread Andreas Jablonka
how about putting an expression on the disable knob? $gui will disable
the switches on rendertime.

On Mon, Oct 24, 2011 at 4:45 PM, BillRay
nuke-users-re...@thefoundry.co.uk wrote:
 Hi ,
 Does anybody know how I can control a switch node in a script from further
 down stream.

 I want to be able to turn switches on/off at render time.

 Thanks!
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] Expression to control Switch at render time

2011-10-24 Thread Julien Chandelle
the $gui fonction works only if you make the render without the user
interface like trough a renderfarm, it doesn't work if you render in nuke
localy

On Mon, Oct 24, 2011 at 5:48 PM, Andreas Jablonka 
andreas.jablo...@gmail.com wrote:

 how about putting an expression on the disable knob? $gui will disable
 the switches on rendertime.

 On Mon, Oct 24, 2011 at 4:45 PM, BillRay
 nuke-users-re...@thefoundry.co.uk wrote:
  Hi ,
  Does anybody know how I can control a switch node in a script from
 further
  down stream.
 
  I want to be able to turn switches on/off at render time.
 
  Thanks!
  ___
  Nuke-users mailing list
  Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
  http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




-- 
Julien Chandelle
GSM : +32 (0) 494 277 542
julienchandelle.be http://www.julienchandelle.be
@jimbiscuit https://twitter.com/#%21/jimbiscuit ||
imdbhttp://www.imdb.com/name/nm2844171/
|| Nuke , AE  Fusion Compositor ||
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Re: [Nuke-users] Expression to control Switch at render time

2011-10-24 Thread J Bills
i bet the only way to do it would be a beforeRender callback that
turns off a master Switch that the rest are clones of.

On Mon, Oct 24, 2011 at 9:42 AM, Andreas Jablonka
andreas.jablo...@gmail.com wrote:
 thats true I assumed thats what the OP wanted to do! local work then farm 
 render

 On Mon, Oct 24, 2011 at 5:32 PM, Julien Chandelle
 julienchande...@gmail.com wrote:
 the $gui fonction works only if you make the render without the user
 interface like trough a renderfarm, it doesn't work if you render in nuke
 localy

 On Mon, Oct 24, 2011 at 5:48 PM, Andreas Jablonka
 andreas.jablo...@gmail.com wrote:

 how about putting an expression on the disable knob? $gui will disable
 the switches on rendertime.

 On Mon, Oct 24, 2011 at 4:45 PM, BillRay
 nuke-users-re...@thefoundry.co.uk wrote:
  Hi ,
  Does anybody know how I can control a switch node in a script from
  further
  down stream.
 
  I want to be able to turn switches on/off at render time.
 
  Thanks!
  ___
  Nuke-users mailing list
  Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
  http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



 --
 Julien Chandelle
 GSM : +32 (0) 494 277 542
 julienchandelle.be
 @jimbiscuit || imdb
 || Nuke , AE  Fusion Compositor ||


 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] Expression to control Switch at render time

2011-10-24 Thread Frank Rueter
this is actually something I would over to see: a differentiation between 
render in gui and interactive session in gui so things like $gui work as 
expected without hacking yet another callback.
has anyone reported this as a feature request?


On Oct 25, 2011, at 8:08 AM, J Bills wrote:

 i bet the only way to do it would be a beforeRender callback that
 turns off a master Switch that the rest are clones of.
 
 On Mon, Oct 24, 2011 at 9:42 AM, Andreas Jablonka
 andreas.jablo...@gmail.com wrote:
 thats true I assumed thats what the OP wanted to do! local work then farm 
 render
 
 On Mon, Oct 24, 2011 at 5:32 PM, Julien Chandelle
 julienchande...@gmail.com wrote:
 the $gui fonction works only if you make the render without the user
 interface like trough a renderfarm, it doesn't work if you render in nuke
 localy
 
 On Mon, Oct 24, 2011 at 5:48 PM, Andreas Jablonka
 andreas.jablo...@gmail.com wrote:
 
 how about putting an expression on the disable knob? $gui will disable
 the switches on rendertime.
 
 On Mon, Oct 24, 2011 at 4:45 PM, BillRay
 nuke-users-re...@thefoundry.co.uk wrote:
 Hi ,
 Does anybody know how I can control a switch node in a script from
 further
 down stream.
 
 I want to be able to turn switches on/off at render time.
 
 Thanks!
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
 
 
 --
 Julien Chandelle
 GSM : +32 (0) 494 277 542
 julienchandelle.be
 @jimbiscuit || imdb
 || Nuke , AE  Fusion Compositor ||
 
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users