Notifications
Clear all

[Closed] Where to visualise embedded callbacks?

How do you visualise script that has been embedded within a max file?
For example, if I add the following in the listener

callbacks.addscript #filepostopen fileName:“c:/test/test.ms” id:#SceneNote persistent:true

Save and then reopen the file.
Where/How do I see that files callbacks if I was to open the scene at some later point and had completely forgotten that it had embedded script?

On a side note, does anyone know if Maya has some equivalent callback system and what its called?

Regards,
Adam

3 Replies
1 Reply
(@timhawker)
Joined: 11 months ago

Posts: 0

Search for ‘scriptJob’, it’s a bit more tricky to use than the 3ds Max callback system but once you get your head around it can work well.
http://download.autodesk.com/global/docs/maya2012/en_us/Commands/index.html

In maya 2013 the ‘callbacks’ command has been added too, which may be of some help.
http://download.autodesk.com/global/docs/maya2013/en_us/Commands/index.html

 lo1
callbacks.show()

Thanks for the help.
I ended up doing it (in Maya) via a scriptNode