daz3d / DazToMaya

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

Can not load on maya 2022.1 #10

Closed camel259 closed 3 years ago

camel259 commented 3 years ago

Only errors due loading

Popinjayishuman commented 3 years ago

Could you give us some more information please? We would like to help you with your issue.

DryreL commented 3 years ago

How to access/run DazToMaya bridge in Maya 2022? It's not in the Plugin Manager

camel259 commented 3 years ago

Hello. Old version of plugin works in 2018 and 2020, when is putted to ..\My_Documents\maya\plug-ins New version in ..\My_Documents\maya\2022\modules or in Maya's program directory don't works at all. There is no plugin in Manager to load.

DryreL commented 3 years ago

Hi. Thanks for the fast answer. It seems you switched plugins to modules. I installed modules into my documents 'maya' but I didn't understand how to access Daz3D in Maya 2022.

camel259 commented 3 years ago

@DryreL: Not me - I'm only Maya user :>

@Popinjayishuman is the plugin creator.

DryreL commented 3 years ago

Ah so! Actually you answered the question yourself :D

There is no plugins folder in this new version. They switched "modules" folder. It auto-loads to shelves itself.

image

As you can see, I was looking for this and found it, thanks to you.

image

camel259 commented 3 years ago

@DryreL Ouh, yeees. It's working :> Thanx a lot, bro.

I've rewritten script which is loading module in 2022 or plugin in Maya 2020 or lower

starting here

import maya.cmds as cmds if int(cmds.about(v=True)) > 2020: import sys sys.dont_write_bytecode = True # don't write PYCs import DazToMaya import importlib importlib.reload(DazToMaya) reload(DazToMaya) DazToMaya.run() else: mel.eval('loadPlugin -quiet DazToMaya') mel.eval('daztomaya')

cmds.inViewMessage( amg='Daz To Maya Loaded', pos='topCenter', fade=True ) sys.stdout.write('Daz To Maya Loaded.\n')

DryreL commented 3 years ago

Nice to hear that!

Popinjayishuman commented 3 years ago

Hey there guys, glad to see you figured this out yourselves but so everyone is clear, the bridge is no longer a plugin but a module inside Maya.

stepharamburu commented 3 years ago

doesn't work for me. Still telling me "Nothing to Import", I'll never understand how a company as DAZ can release an unuseful update.