Message 1 of 5
MEL procedure on file needs to source itself to get global variables?
Not applicable
02-09-2018
01:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I know, why MEL... Sadly, Maya LT doesn't let my clients use Python, so that's my torture.
I just discovered this.
I declare several variables in this MEL file.and then have a procedure with the SAME name as the file.
I run the file name, but the globals are not loaded.
Should I call source with the file name inside this procedure to be able to get the globals?
I thought when you run a file it was sourced by default.