Message 1 of 3

Not applicable
08-09-2016
03:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys,
I'm trying to catch some data about scenes that are imported.
Something like:
def import_callback(): print "SOMETHING WAS IMPORTED. I WISH I KNEW WHAT IT WAS" cmds.scriptJob( event=("SceneImported", import_callback) )
It feels like a scriptJob callback is the way to go but I don't think it can capture the name/path of the file being imported. Anyone have any insight or an alternate approach to calling some python on every import (and getting the name/path of the file imported)?
Thanks in advance.
Solved! Go to Solution.