Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I want to assign an object the the mash repo node via python.
Is there are simple way to do this?
thxs
Guido
Solved! Go to Solution.
Hi.
I want to assign an object the the mash repo node via python.
Is there are simple way to do this?
thxs
Guido
Solved! Go to Solution.
Hi sublist,
You can do something like this:
import mash_repro_utils as repro
import mash_repro_aetemplate as AErepro
repro.connect_mesh_group('MASH1_Repro', 'pSphere1') # Add the sphere to repro node
AErepro.refresh_all_aetemplates() # Refresh the attribute editor for all repro nodes
You can find mash_repro_utils and mash_repro_aetemplate methods in /Applications/Autodesk/maya2019/plug-ins/MASH/scripts. That folder also contain other scripts that might be helpful.
Regards,
Lanh