n Busquets
> *Sent:* Sunday, November 04, 2012 2:28 PM
> *To:* Nuke Python discussion
> *Subject:* Re: [Nuke-python] Import fbx via PythonPanel
>
> The problem with the knobChanged approach is that you're preventing other
> knobChanged callbacks to be executed.
> The fbx_take_
GUI, you may want to throw in a call to hide
your dialog as well.
-Nathan
From: Ivan Busquets
Sent: Sunday, November 04, 2012 2:28 PM
To: Nuke Python discussion
Subject: Re: [Nuke-python] Import fbx via PythonPanel
The problem with the knobChanged approach is that you're preventing
;
>> import_camera().show()
>>
>> def test():
>>
>> filepath = "C:/Users/Simon/Desktop/A018_C001_05075H_baked.fbx"
>> cam_name = "Camera_A018_C001_05075H"
>> c = nuke.createNode('Camera2', 'file "%s"
# Validate path, create your node here, etc.
> pass
>
>
> I don’t necessarily know if this will make a difference, but I think it’s
> worth a try.
>
> -Nathan
>
>
> *From:* Simon Björk
> *Sent:* Sunday, November 04, 2012 1:35 PM
> *To:* Nuk
hink it’s worth
a try.
-Nathan
From: Simon Björk
Sent: Sunday, November 04, 2012 1:35 PM
To: Nuke Python discussion
Subject: Re: [Nuke-python] Import fbx via PythonPanel
Hi Nathan,
thanks for your reply. I'm not really sure I understand how you mean, but I
tried this and got the sam
t;fbx_node_name"].setValue(cam_name)
Cheers,
Simon
2012/11/4 Nathan Rusch
> Have you tried using your PythonPanel subclass the same way you’re
> using the simple Panel, as opposed to encapsulating your node creation code
> in the class itself?
>
> -Nathan
>
>
Have you tried using your PythonPanel subclass the same way you’re using the
simple Panel, as opposed to encapsulating your node creation code in the class
itself?
-Nathan
From: Simon Björk
Sent: Sunday, November 04, 2012 11:04 AM
To: Nuke Python discussion
Subject: [Nuke-python] Import
I'm trying to import an fbx file using a PythonPanel, but for some reason
it doesn't work. Using forceValidate() the camera loads, but it doesn't set
animation, focal etc. Strange thing is it works perfectly if I use a simple
panel istead (I don't even have to use forceValidate()). Anyone have any