Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[2020.3] Mash Python node not working anymore

8 REPLIES 8
Reply
Message 1 of 9
abercaine
934 Views, 8 Replies

[2020.3] Mash Python node not working anymore

hi,

Looks like in maya 2020 the Mash python node is not working anymore, working fine in maya 2019

8 REPLIES 8
Message 2 of 9
mimi.faks
in reply to: abercaine

I'm also highly interested to know why this isn't working. Thanks in advance for any reply.

Message 3 of 9
g2m.agent
in reply to: abercaine

At the same time, the Mainframe North Bool plug-in also stopped development.
Maya plug-in development company ticket01.com and fracture-fx.com also removed the Autodesk trademark. Maybe Autodesk stopped funding them?

Message 4 of 9
hagen.deloss
in reply to: abercaine

Hi @abercaine @mimi.faks ,

 

What update version are you seeing this behavior in? I do see this logged on our side, but also its marked as a resolved issue. I tested this in Maya 2020 update 2 and it seems to work for me (at least the creation of the python node doesn't fail). 

 

mash_python.gif

 

 

 

 

 

 

 

 

Is there a specific operation that isn't working on your side, or is node creation failing to be created?

 

Warm regards, 

 

 

 



Hagen Deloss
Community Manager | Media & Entertainment
Installation & Licensing forums | Contact product support | Autodesk AREA


 

Message 5 of 9
abercaine
in reply to: hagen.deloss

hi @hagen.deloss 
as stated in the title it's 2020.3, on my side it's a window machine.
And i'm doing exactly like what you are doing here, the node got created but the cubes don't go up.
and it's working fine with maya 2019.3 

Message 6 of 9
mspeer
in reply to: abercaine

Hi!

I can confirm this.

The Python node is ignored in Maya 2020.3 .

Message 7 of 9
lennieC6RRC
in reply to: abercaine

It doesn't seem to be working in 2020.4 either. Node is created fine, the mash network just ignores it completely.

Message 8 of 9
joshua.mills.3d
in reply to: abercaine

I can also confirm that in 2020.4 on linux this still is not working.

 

I've tested the python node via print functions which seems to indicate node execution at least, but any of the standard setData() operations for rotation or position don't seem to do anything to any of the instances.  Any update on Autodesk's end?

Message 9 of 9
chst276YC79
in reply to: abercaine

import openMASH

def updatePositions(data):
    from maya.api.OpenMaya import MVector as vec
    # Determine the number of instances
    count = data.count()
    # Update each instance's position.
    pos = [ data.outPosition[i] for i in range(count) ]
    data.outPosition = [ vec(p.x, i, p.z) for i, p in enumerate(pos) ]

# Initialise the MASH network data
md = openMASH.MASHData(thisNode)

# This is how to get the frame number
frame = md.getFrame()
updatePositions(md)

# Tell MASH to write the network data
md.setData()

Above codes works fine.

I hijacked the codes from the Maya 2023.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report