| Item | Quantity | Price |
|---|
| Your cart is empty. Check out our collection of 3d models! |
Prices in:
Clear Cart
Home » Forums » 2D and VFX » Nuke » python callbacks Topic 91 of 329
| Item | Quantity | Price |
|---|
| Total | $0.00 (USD) | ||
| Your cart is empty. Check out our collection of 3d models! | |||
Prices in:
Clear Cart
| Name | Downloads |
|---|---|
TrueGlass |
845,788 |
detachSeparate.mel |
837,125 |
The Andy Rig |
617,574 |
Sergio |
467,130 |
LWOImpR4-R5_043 |
431,545 |
Tiny |
339,470 |
Smedge .6 |
208,192 |
Ocean Shader |
183,732 |
silver shader |
179,824 |
At The Sea |
163,197 |
| Name | Contributions | Posts |
|---|---|---|
| humster3d | 2140 | 2 |
| squir | 1295 | 0 |
| Pupuhol | 967 | 0 |
| KanhtArt | 857 | 0 |
| GuamWork | 854 | 0 |
| admin | 778 | 21231 |
| rose studio | 655 | 0 |
| stefano tartarotti | 616 | 0 |
| VKModels | 443 | 1 |
| fileadmin | 424 | 0 |
Hi there-
I upgraded to 5.2 the other day and i've been looking at the new python panel things most of the stuff I can seem to get my head around but I'm having problems with callbacks or more specifically getting a call back when nuke.frame() is updated.
I've a couple of questions, is there a knob equivalent to nuke.frame() that I could access so whenever the frame number is changed a method is called?
According to the documentation I could use this:
def knobChanged(self, knob):
if knob == nuke.frame():
print("moo")
# do other stuff
But that doesn't appear to work so I began to wonder if I could use the updateUI callback instead so I tried this:
nuke.addUpdateUI(self.updateUI)
def updateUI(self):
print("moo")
# do other stuff
But this doesn't seem to be called when I change frame. Any ideas on how I could do this?
Thanks
Dom