Announcement

Collapse
No announcement yet.

Convert To Maya Instances Command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convert To Maya Instances Command

    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.


    Click image for larger version

Name:	image.png
Views:	108
Size:	10.3 KB
ID:	1212764

  • #2
    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
    Code:
    vrayBakeScatterInstances ChaosScatterShape1
    And Python
    Code:
    maya.cmds.vrayBakeScatterInstances('ChaosScatterShape1' )​
    Just bare in mind that converting large number of instances may be slow.
    Svetlana Gesheva
    QA, V-Ray for Maya
    chaos

    Comment

    Working...
    X