Download

Metahumans - On a Network, DNA rig files issue

Hi there,

I can download and work with metahumans on each of my individual computers, however when I try to open up a maya rig file on another computer on the network, then the face rig seems to break. Sure its there in the scene, however it does not control the joints/blendshapes anymore. My guess is that when maya opens the file theres a code line in the rig somewhere that wants to pick up a DNA file. Normally something that would be picked up from the SourceAssets folder. My question is how do i repath this in maya to pick up the DNA file from a server location?

Kind regards,
Micha

SOLVED: Figured that I could just update the path in the maya asci file.

You can also do that from within the scene usin this snippet:

cmds.createEmbeddedNodeRL4(
n="rigLogicNode", 
dfp="C:\MyMetahuman_rl.dna",  //using _rl cuz it seems to be the behavior part of dna
jn="DHIhead:<objName>.<attrName>", 
amn="FRM_WMmultipliers.<objName>_<attrName>", 
bsn="<objName>_blendShapes.<attrName>", 
cn="<objName>.<attrName>"
)

it’s basically recreates connections from controls->rigLogic->bones.

1 Like

Just seen this now… thanks for the tip @AyanMiru

Hi AyanMiru,
are you able to explain how to do that for a non coder?
i tried pasting that in the maya mel windw and hitting return but i get this error
Invalid use of Maya object “n”
tried replacing the file path for the dna file on my computer. not sure what im doing wrong. will this connect the controls to the bones so the dna file is no longer needed? thankyou

Select the Script Editor at the bottom right corner, it lets you type in multi-line scripts.