bookmarker v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Howard Jones
Bookmarks nodes/ backdrops and a pulldown you can find/open the nodes, or cycle through them
Requirements:
5.2, 6.0, 6.1, 6.2 or later
Linux, Mac, Windows
24 Feb 2011
218

Bookmarker will bookmark nodes and backdrops to allow you to easily find or open your bookmarked sections in your script. Via a pulldown you can find/open the nodes, and/ or you can cycle through them.

Thanks to Diogo for the cycling and a lot of ideas in the code!

 

for menu.py

import bookmarker

m=nuke.menu("Nuke")
m.addCommand('Edit/Bookmarks/add Bookmark', 'bookmarker.bookmarkthis()', 'shift+ctrl+b',icon='bookmark.png')
m.addCommand('Edit/Bookmarks/find Bookmark', 'bookmarker.listbookmarks()', 'alt+ctrl+b',icon='findBookmarks.png')
m.addCommand('Edit/Bookmarks/cycle Bookmarks', 'bookmarker.cyclebookmarks()', 'ctrl+up',icon='cycleBookmarks.png' )

Please login in order to download these files.

Comments   

 
0 # lau lok 2011-02-23 07:28
awesome! thank you!
is there a way to "delete/remove" bookmark?

thanks!!
 
 
0 # lau lok 2011-02-23 07:55
just figured it out. If you try to add bookmark on a bookmarked node, it asks if you want to clear bookmark and label. It's a great tool. Thanks a lot for sharing!
 
 
0 # L K 2011-02-23 08:02
thank you!

bug report/question:
i have two bookmarks
for some reason when i cycle through them it jumps between three places
two bookmarks and a viewer,
if i delete viewer it jumps between two bookmarks and another random node.
 
 
0 # Howard Jones 2011-02-24 07:20
I'm not seeing that here - but cycling does seem to have a 3rd position which is where the list is reset (via the 'except') by the looks of it. Is that what you are seeing?
 
 
0 # life srichathi 2011-02-27 08:28
its gr8 work... ya im asking same question ..deleting the bookmark its very imp for big flows or comps ..
 
 
0 # L K 2011-02-27 08:57
yes, the question can this 3rd position be removed? why do we have it?

life srichath, you can delete bookmarks. just try to bookmark the bookmarked node again. :-)
 
 
0 # Howard Jones 2011-02-28 03:11
Hi Lau

I'll have a dig through Diogo's code and see if it can be skipped
 

You have no rights to post comments

We have 3423 guests and 130 members online