Message 1 of 1
Making Maya script with custom assets installable as plugin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have written a plugin for Maya that for some resources depends on external files. Currently I have it set up as a single python file with a line file_path=... in which a user has to manually input the location of the script. It uses this location to manually import images among other things. How can I best turn this script into an "installable" plugin? Sub-question: how can I access the filepath of the script that is being executed?