Hi Vincent, 

your code works fine here, no errors...
Are you doing
something else to the nodes ? 

cheers,
Carl 

PS: Gruesse mal alle von
mir :) 

Am 04.11.2013 17:08, schrieb Vincent Langer: 

> hi there,
> 
>
I created a little node with a couple of python script buttons.
> One
button is for deleting specific nodes:
> 
> buttonNode =
nuke.thisNode()
> 
> for node in buttonNode.dependent():
> if
node.Class() == "FrameHold":
> if node['first_frame'].value() ==
int(nuke.frame()):
> nuke.delete(node)
> 
> It works as it should BUT I
get the error: "A PythonObject is not 
> attached to a node".
> 
>
google did not give me any info.
> 
> Is there a way to prevent this
error or a least force it not to pop up 
> - since it does the job?
> 
>
cheers,
> Vincent
> 
>
----------------------------------------------------------------
> This
message was sent using IMP, the Internet Messaging Program.
> 
>
_______________________________________________
> Nuke-python mailing
list
> Nuke-python@support.thefoundry.co.uk [1],
http://forums.thefoundry.co.uk/ [2]
>
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
[3]

  

Links:
------
[1]
mailto:Nuke-python@support.thefoundry.co.uk
[2]
http://forums.thefoundry.co.uk/
[3]
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