Notifications
Clear all
[Closed] [Python] drag&drop mxs command?
Feb 18, 2015 4:12 pm
Hey
For testing purpose i wrote a small Python script. If i drag&drop from the QWidget to the 3ds max viewport it executes a specific .ms file
This is the mimeData i set for the drag&drop event:
mimeData.setData(‘text/uri-list’, ‘file:///D:/temp/drop.ms’)
Would it also be possible to execute a maxscript command directly? Like print “test”.
Obviously this doesn´t work, but something similar to this:
mimeData.setData(‘text/uri-list’, ‘text: print “test”’)
Thanks for your help.