don't know much about windoes, but it's probably a memory limit
in the windows manager?
on OSX, i can create 500 nodes without problems, although it
takes a while and slows down after 200-300 because all the
property windows stay open.
you could try this instead, which runs very fast:
for i in range(1,500):
nuke.nodes.Blur()
.. or try to close the property window after each
nuke.createNode("Blur") call, but somehow
node.hideControlPanel() doesn't seem to work in the for loop.
++ chris
On 2/22/13 at 1:52 PM, nuke-python-re...@thefoundry.co.uk
(ArYeS) wrote:
I'm having problems when I try to create more than nuke nodes
with single nuke script.
I start to get error and nuke crashes:
QWidget::create Failed to create window (The current process
has used all of its system allowance of handles for Window
Manager object.)
Any ideas how to bypass this?
Script used for testing is simple, but crashes using any script
creating more than ~70 nodes:
for i in range(1,100):
nuke.createNode("Blur")
_______________________________________________
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