Hi Thorsten,
I've been running in the exact same issues in the last couple of days.
I do not have a good solution (but will be following this thread with
attention), but I use a little workaround for the nodes size by getting the
default value in the preferences. It works quite well for the width of most
nodes except groups. For the height, results vary depending of what's in
the autolabel, so I ended up just adding some margin to the default value
to be sure.
It sure isn't perfect but at least I've been able to do something.

Hope somebody has a better way.
Erwan
On 27 Feb 2014 00:47, "Thorsten Kaufmann" <thorsten.kaufm...@mackevision.de>
wrote:

> Heya,
>
>
>
> I am seeing quite a lot of issues with programmatically assembling
> scripts. Anyone got any tips? Here's
>
> some of the issues:
>
>
>
> -          Creating nodes does not update their DAG position/size values.
> So autobackdropping does not work because the screenWidth is not available.
> You can force an update calling node.xpos() BUT this does not work for
> NoOps.
>
> -          Creating reads works fine, but channels are not immediately
> created it seems. When creating around 100 reads and piping them into a
> zMerge and then trying to ChannelMerge a bunch of channels the channels to
> be created by the reads are not available. They are created though and it
> works if I run the script a second time in the same nuke-script.
>
> -          Creating channels via nuke.Layer does not really seem to work.
> They are available in layer knobs, but not in channel knobs it seems (?!?)
> Creating them via nuke.tcl works
>
>
>
> This list probably should go on, but these are the most pressing issues
> for me atm. Do I really have to precreate channels for reads (which can be
> REALLY tricky)? And even then fall back to TCL to do so?
>
>
>
> Cheers,
>
> Thorsten
>
> Thorsten Kaufmann
> Production Pipeline Architect
> ------------------------------
>
>  Mackevision Medien Design GmbH
> Forststraße 7
> 70174 Stuttgart
>
> T  T +49 711 93 30 48 78
> F  +49 711 93 30 48 90
> M +49 151 19 55 55 02
>
> thorsten.kaufm...@mackevision.de
> http://www.mackevision.de
>
> Geschäftsführer: Armin Pohl, Joachim Lincke, Karin Suttheimer
> HRB 243735 Amtsgericht Stuttgart
>
>
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to