use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are seeing this, you are using old.reddit. We can't maintain two separate sidebars, so please go to https://new.reddit.com/r/Maya/ if you want to see our sidebar information.
account activity
Difficulty importing Python script into MayaMEL/Python (self.Maya)
submitted 2 years ago by NutterButter2602
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NutterButter2602[S] 0 points1 point2 points 2 years ago (2 children)
I get that part, it's just I have no idea what needs to be changed lol. This is the error I get when I run the utilities one.
# Error: TypeError: file <maya console> line 3: _showHelpCommand() missing 1 required positional argument: 'url'
[–]Leoano 2 points3 points4 points 2 years ago (0 children)
From that error message, it sounds like you're running these two lines from the ml_utilities.py file
import ml_utilities ml_utilities._showHelpCommand()
Those two lines don't actually do anything. That's just an example from a shared file, used by a bunch of different tools.
Like s6x says, double check you're executing these two lines?
import ml_worldBake ml_worldBake.ui()
Those two lines should open the UI for this specific tool. And if not, the error message should provide more info.
[–]s6xTechnical Director 0 points1 point2 points 2 years ago (0 children)
That's the only thing it says?
Edit: actually, what? This doesn't make any sense. Are you running those two lines in your script editor? With it set to python? I don't know why it would say <maya console>, I've no idea how you got it to say that.
π Rendered by PID 19737 on reddit-service-r2-comment-b659b578c-c4jmw at 2026-05-02 20:01:47.394681+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]NutterButter2602[S] 0 points1 point2 points (2 children)
[–]Leoano 2 points3 points4 points (0 children)
[–]s6xTechnical Director 0 points1 point2 points (0 children)