Message 1 of 1
Auto sourcing MEL Scripts in a Plugin?

Not applicable
10-24-2014
05:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to use plugin.registerUI to utilize several of my UI scripts. This always fails unless I specifically source these scripts through Maya ahead of time.
I know I could create a userSetup.mel script and source those scripts there, however there must be another way.
I've seen quite a few plugins somehow utilize registerUI without putting a userSetup.mel on your machine and sourcing the scripts ahead of time... any ideas?