• Daz 3D
  • Shop
  • 3D Software
    • Daz Studio Premier
    • Daz Studio
    • Install Manager
    • Partnerships
    • AI Training data
    • Exporters
    • Daz to Roblox
    • Daz to Maya
    • Daz to Blender
    • Daz to Unreal
    • Daz to Unity
    • Daz to 3ds Max
    • Daz to Cinema 4D
  • 3D Models
    • Genesis 9
    • Genesis 8.1
    • Free 3D Models
  • Community
    • Gallery
    • Forums
    • Blog
    • Press
    • Help
  • Memberships
    • Daz Premier
    • Daz Plus
    • Daz Base
    • Compare
  • Download Studio
ADVANCED SEARCH
  • Menu
  • Daz 3D
ADVANCED SEARCH
Add image
  • Shop
  • 3d Software
    • Daz Studio Premier
    • Daz Studio
    • Install Manager
    • Partnerships
    • AI Training data
    • Exporters
    • Daz to Roblox
    • Daz to Maya
    • Daz to Blender
    • Daz to Unreal
    • Daz to Unity
    • Daz to 3ds Max
    • Daz to Cinema 4D
  • 3D Models
    • Genesis 9
    • Genesis 8.1
    • Free 3D Models
  • Community
    • Our Community
    • Gallery
    • Forums
    • Blog
    • Press
    • Help
  • Memberships
    • Daz Premier
    • Daz Plus
    • Daz Base
    • Compare

Notifications

You currently have no notifications.

Loading...
    • Categories
    • Recent Discussions
Daz 3D Forums > 3rd Party Software > Maya Discussion

"Daz to Maya" will not start in Maya

crispy1138crispy1138 Posts: 3
July 2020 edited July 2020 in Maya Discussion

Using Maya 2018, I click on the "Daz to Maya" menu created by the plugin, and consistently get the error and fail:

# Error: NameError: file <maya console> line 1: name 'mel' is not defined # 

Happens in 2017 and 2020 as well. Anyone know a fix? I am not Maya scripting/mel/python expert. Thanks.

Post edited by Richard Haseltine on July 2020

Comments

  • Richard HaseltineRichard Haseltine Posts: 107,869
    July 2020

    Moved to Maya Discussion.

  • bicc39bicc39 Posts: 589
    July 2020

    Same problem.

  • crispy1138crispy1138 Posts: 3
    July 2020

    Bump.

    Any takers? I know looking it up that this is a generic error typically meaning Maya thinks a Python script(which the plugin is) is a MEL script. But no real solution given for this specific case. Anyone who has seen and fixed this please chime in.

  • giancayardgiancayard Posts: 4
    July 2020

    Same issue.

  • moreffector_3290526moreffector_3290526 Posts: 55
    July 2020 edited July 2020

    Hey. Go to MEL console (left bottom) and enter this "daztomaya" - after everything will work ;)

    NOTE : Be sure activate your all FBX import plugins checked your plugin manager !

    Post edited by moreffector_3290526 on July 2020
  • crispy1138crispy1138 Posts: 3
    July 2020
    bizdikpirt said:

    Hey. Go to MEL console (left bottom) and enter this "daztomaya" - after everything will work ;)

    NOTE : Be sure activate your all FBX import plugins checked your plugin manager !

    @bizdikpirt - Thanks for the reply. Typing "daztomaya" does work!  But the menu (supposedly also the "daztomaya" command) still does not. surprise All FBX etc. plugins are loaded as always for me. Very odd. I emailed Daz support, no reply.

  • crispy1138crispy1138 Posts: 3
    July 2020
    crispy1138 said:
    bizdikpirt said:

    Hey. Go to MEL console (left bottom) and enter this "daztomaya" - after everything will work ;)

    NOTE : Be sure activate your all FBX import plugins checked your plugin manager !

    @bizdikpirt - Thanks for the reply. Typing "daztomaya" does work!  But the menu (supposedly also the "daztomaya" command) still does not. surprise All FBX etc. plugins are loaded as always for me. Very odd. I emailed Daz support, no reply.

    UPDATE: I realized it works in the command line since it is set to MEL(not Python) by default. Making a shelf button as a Python command(the plugin is a Python script) has the same error. Set the button to be a MEL command works. And of course toggling the command line to PYTHON creates the same error.

    So the plugin is a Python script that needs to be run as a MEL command. The menu is running it as a Python command(since it is a Python script?)

    I do not see a way to change how the menu command is run to MEL. Ideas?

  • bicc39bicc39 Posts: 589
    July 2020

    Only about 4 people have this problem?

    What do we have in common?

  • giancayardgiancayard Posts: 4
    July 2020

    I confirm the advice of running "daztomaya" as a mel script from a shelf or a script editor works.

    G

  • papissyahavpapissyahav Posts: 6
    September 2020
    bicc39 said:

    Only about 4 people have this problem?

    What do we have in common?

    In cases like this, I would suggest looking at the Maya end - it is the most customiseable software I know, and after long usage that includes moving windows arround, installing scripts and what not, needs a "soft reboot."

    I mean, of course, deleting all the user prefs and running it again, as if fresh.

    Solve a lot of issues, and very fast to do.

    If you are not familiar with the method, please check google for it, so you don't mess up your Maya (though it's unlikely).

    Oh, I love Maya...

  • mobilialifemobilialife Posts: 0
    October 2020

    Daz character is not importing into Maya from Daz Studio. 

    It just reads: # Error: RuntimeError: file C:/Users/Owner/Documents/maya/plug-ins/DazToMaya_Files\d2m.py line 1145: Error occurred during execution of MEL script
    line 1: line 1: Cannot find procedure "FBXImportMode".

     

    Does anyone know if I need an execution line for the script and if not, then what?

  • KengsCPAKengsCPA Posts: 0
    November 2020

    Had the same problem as the thread opener, in my case, turns out I had the older version of DaztoMaya installed and it was that one that loaded in Maya menu which couldn't be open. It was put in my Maya 2020/plug-ins folder and the update put DaztoMaya.py in the ~Documents/Maya/plug-ins instead. So you have to turn off the older DaztoMaya before you can turn on the other one which is in the  ~Documents/Maya/plug-ins... or better yet, delete the older version from ~maya 20xx/plug-ins.

    Everything should be fine afterward if your problem happen to be the same as mine.

Sign In or Register to comment.
Adding to Cart…

Daz 3D is part of Tafi

Connect

DAZ Productions, Inc.
7533 S Center View Ct #4664
West Jordan, UT 84084

HELP

Contact Us

Tutorials

Help Center

Sell Your 3D Content

Affiliate Program

Documentation Center

Open Source

Consent Preferences

JOIN DAZ

Memberships

Blog

About Us

Press

Careers

Bridges

Community

In the Studio

Gallery

Forum

DAZ STORE

Shop

Freebies

Published Artists

Licensing Agreement | Terms of Service | Privacy Policy | EULA

© 2025 Daz Productions Inc. All Rights Reserved.