Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Are there python commands for the new Animation Bookmarks system in Maya 2020? I'm looking to programmatically create bookmarks through python and something like a cmds.timeSliderBookmark('bookmark1', e=True, timeRangeStart=4, timeRangeEnd=64) would be super helpful.
When "echoing all commands" in the Script Editor, there does seem to be some behind-the-scenes python stuff happening.
if(checkAndLoadPlugin("timeSliderBookmark")){python("from maya.plugin.timeSliderBookmark.bookmarkManager import CreateBookmarkDialog; cb = CreateBookmarkDialog(); cb.show()");};
from maya.plugin.timeSliderBookmark.bookmarkManager import CreateBookmarkDialog; cb = CreateBookmarkDialog(); cb.show()
Solved! Go to Solution.