daz3d / DazToMaya

Daz To Maya Bridge
https://www.daz3d.com/daz-to-maya-bridge
Other
29 stars 20 forks source link

Even with latest update, DazToMaya does not show up in Maya Plug-In Manager. #49

Open lghtstrm opened 1 year ago

lghtstrm commented 1 year ago

I've been trying this for months, so I was really excited to see that there is a new version of the Bridge for Maya 2023. So, I downloaded the latest version and installed it through DIM. The Plug-In is in the Modules folder, the icons show up in the Maya Tabs menu, and Daz tells us the installation was successful. The export seems to go according to plan, but the Plug-In does not appear in the Maya Plug-In Manager.

danielbui78 commented 1 year ago

Only DLL based plug-ins will appear in the Maya Plug-In Manager. If you click the "DAZ IMPORT" icon and you see the DazToMaya 2023.1 pop-up window, then it is working and you can start using the Daz To Maya Bridge.

If the DazToMaya pop-up window does not appear, then the most common issue is that you need to install PyMEL. Usually, PyMEL is installed during the installation of Maya 2023, but you can follow these steps to manually install PyMEL for Maya 2023: https://help.autodesk.com/view/MAYAUL/2023/ENU/?guid=GUID-2AA5EFCE-53B1-46A0-8E43-4CD0B2C72FB4

Here is a video demonstrating those steps: https://www.youtube.com/watch?v=y1yizEPQvh0&t=157s

lghtstrm commented 1 year ago

Thanks Daniel, but when I click the import icon, I get this error message:

DazToMaya.run()

Error: ModuleNotFoundError: file /Users/newscott2/Library/Preferences/Autodesk/maya/modules/DazToMaya/scripts/d2m.py line 31: No module named ‘pymel'

I went to the Daz forums and apparently this has happened to others. It says I need to download the pyMEL app. This is a a problem, as well. Following all the directory threads and attempting the install, I get another error.

/Applications/Autodesk/maya2023/Maya.app/Contents/bin/: is a directory iMac-Pro:~ sudo ./mayapy -m pip install "pymel>=1.2.,<1.3." Password: sudo: ./mayapy: command not found

I really don't know squat about Python, but apparently, I need pymel for a plug-in that I really would like to use.

Thanks for the reply.

Scott Denison @.>@. @.***>

On Jul 4, 2023, at 10:56 AM, danielbui78 @.***> wrote:

Only DLL based plug-ins will appear in the Maya Plug-In Manager. If you click the "DAZ IMPORT" icon and you see the DazToMaya 2023.1 pop-up window, then it is working and you can start using the Daz To Maya Bridge.

— Reply to this email directly, view it on GitHub https://github.com/daz3d/DazToMaya/issues/49#issuecomment-1620403912, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAFTRSIW2JZAUPNDTMKUUXTXOQVLRANCNFSM6AAAAAAZ53DETU. You are receiving this because you authored the thread.

danielbui78 commented 1 year ago

Here are step by step directions for you to use on Mac:

  1. Press Command-Space to open spotlight and type "Terminal" and press ENTER.
  2. The Terminal app window should open with a blinking cursor next to "~ %".
  3. Copy and paste this command-line into the Terminal window and press ENTER: cd /Applications/Autodesk/maya2023/Maya.app/Contents/bin
  4. The next line should now read "bin %".
  5. Copy and paste this command: sudo ./mayapy -m pip install "pymel>=1.3.*,<1.4.*"
  6. You should now see the pymel installation process start and complete. Look for the line "Successfully installed pymel" to verify that it was successful.
  7. Optional: Copy and paste this command to further verify your pymel install: ./mayapy -m pip list
  8. You should see a list of python packages with an entry for "pymel".

Since you are on mac, you may also need to perform the following step to fix a DIM packaging error: #50

After that, restart Maya 2023 and you should hopefully have a working Daz To Maya Bridge installation.

lghtstrm commented 1 year ago

Daniel,

Excellent. That worked! Thanks for your help.

Scott Denison @.>@. @.***>

On Jul 4, 2023, at 12:33 PM, danielbui78 @.***> wrote:

Here are step by step directions for you to use on Mac:

Press Command-Space to open spotlight and type "Terminal" and press ENTER. The Terminal app window should open with a blinking cursor next to "~ %". Copy and paste this command-line into the Terminal window and press ENTER: cd /Applications/Autodesk/maya2023/Maya.app/Contents/bin The next line should now read "bin %". Copy and paste this command: sudo ./mayapy -m pip install "pymel>=1.3.,<1.4." You should now see the pymel installation process start and complete. Look for the line "Successfully installed pymel" to verify that it was successful. Optional: Copy and paste this command to further verify your pymel install: ./mayapy -m pip list You should see a list of python packages with an entry for "pymel". Restart Maya 2023. Since you are on mac, you may also need to perform the following step to fix a DIM packaging error: #50 https://github.com/daz3d/DazToMaya/issues/50 — Reply to this email directly, view it on GitHub https://github.com/daz3d/DazToMaya/issues/49#issuecomment-1620518036, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAFTRSPXDVDNU7XQK7GBSH3XORAU5ANCNFSM6AAAAAAZ53DETU. You are receiving this because you authored the thread.