Hello everyone,
Is there a way to get which command this button ins executing under the hood?
I tried with echo all commands on, but nothing related to the command is there.
I’m asking because I would like to create a script to bake all my chaosScatters in a single press of a button.
Thank you in advance.
Hi, oliver_cameron!
The command is vrayBakeScatterInstances and it requires a Scatter shape as an argument.
We’ll add the following examples on the Chaos Scatter documentation page shortly. Thanks for raising the question!
Works in MEL
vrayBakeScatterInstances ChaosScatterShape1
And Python
maya.cmds.vrayBakeScatterInstances('ChaosScatterShape1' )
Just bare in mind that converting large number of instances may be slow.