Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Increase control of nParticle node in Python / MEL

Increase control of nParticle node in Python / MEL

When creating a new instancer by means of the `particleInstancer` similar as below:

cmds.particleInstancer("myNParticle", name="myInstancer", object="myCube", scale="radiusPP", objectIndex="index")

The nParticle's Instancer(Geometry Replacement) attributes are set correctly except for the "Allow All Data Types" checkbox which is not toggled on while the attributes are non default type attributes.

There is no documented approach to toggle the state through Python, MEL or OpenMaya API.

I had to find the AEdynparticleInstancerNew.mel file in order to find the checkBoxGrp which belongs to the attribute in order to make it work "nicely".

 

The main issue with this is that I do not know if the nParticle and instancer will process the PP attributes properly.

 

It would be nice to an extra flag to the particleInstancer which toggles Allow All Data Types or to Allow All Data Types by default.

 

1 Comment
tj.galda
Alumni
Status changed to: Archived
 

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

Submit Idea