Home Website Youtube GitHub

Error when exporting Delta Mush deformer weightmaps

Hi everyone,

I’m trying to export the painted weight maps of a Delta Mush deformer in Maya 2022 using mGear 5.4.5.

Here are the steps I followed:

  1. Selected the Delta Mush deformer.
  2. Ran Export Deformer Weightmap.
  3. Chose the desired file location.

However, the export fails with the following error:

Error: AttributeError: file ...\Documents\maya\modules\scripts\mgear\pymaya\node.py line 263:
'Transform' object has no attribute 'fullPathName'

I’m not sure if I’m using the tool incorrectly or if this might be a bug in mGear 5.4.5.

Any help or suggestions would be greatly appreciated!

Thanks in advance! Christian

Did you truncate the error? Is there any more to it?

This doesn’t show the full stack of which file called the node.py file. Probably deformer_io.py?

A deltaMush deformer shouldn’t have a transform node, so either something else is getting selected, or the tool has a bug. If you can find the full error stack, you might be able to find an example of how to call the command through code instead of using the menu.

Or maybe the bug is an easy fix. Or maybe you can select the deformer in a different way to avoid the error.

I am usually testing in Maya 2024 and Maya 2026. So maybe this is related to the Maya version and some differences in the DeltaMush deformer.
Tested in Maya 2024 and can’t reproduce the issue

Hi everyone, thank you very much for your efforts. Over the next few days, I’ll try to document the behaviour in detail and describe the error precisely. But I do think it actually has something to do with the Maya version. My aim is to provide you with a file so that you can examine the behaviour for yourselves. Perhaps you’ll then be able to test the problem in Maya 2022. I’ll be in touch soon with more detailed information on this… Best regards, Christian

1 Like

I would say it’s version issue. I tried using DeltaMush with 2022 in the past and found it to be buggy. Its more stable in 2024 with some minor issue at failing with some vertices occasionally.

This is a thread about a code issue when exporting deformer weights. Not the behaviour of the deformer.

Hi, everyone, I ran the test series again.

When I select the deltamush directly and then export the weight maps, I get this error message:

// select deltaMush Node…
// Result: deltaMush1 //

//export deformer weight map - using mgear
Error: AttributeError: file …maya\modules\scripts\mgear\pymaya\node.py line 263: ‘Transform’ object has no attribute ‘fullPathName’

+++++++++++++++++++

When I select the mesh and export the weight maps, I get this message:

// select pCylinder1 using a deltaMush deformer
// Result: mgear|pCylinder1 //

//export deformer weight map - using mgear
Error: AttributeError: file …maya\modules\scripts\mgear\pymaya\node.py line 263: ‘Transform’ object has no attribute ‘outputGeometry’

Maybe this will help…