I will try to look online, but if you know how to, or if you can direct me to a good source of information like that, I would be grateful.
Basically there are different ways to access the data in MakeHuman. One would be using the mhapi plug-in, which also has some documentation. It can be found on the github page. Or if you just want to play around a bit you can do something like this in an interactive shell (the global G lets you access almost all data of the application):
- Code: Select all
In [1]: human = G.app.selectedHuman
In [2]: human.modifierNames
In [3]: [m for m in human.modifierNames if 'age' in m.lower()]
In [4]: modifier = human.getModifier('macrodetails/Age')
In [5]: modifier.setValue(0.0)
In [6]: human.applyAllTargets()
and so on...