Trying to set rotation = “rotationPP” on an nParticleShape object, but an error is thrown unless you click on the object first (and some behind the scenes updates/connections are made). I’ve tried selecting, changing frames, etc through script first, but nothing works so far, except manually clicking on the object first.
nparticles_shape.computeRotation.set(True)
#have to manually click on the nparticle_shape here, otherwise the error below occurs
pm.particleInstancer(nparticles_shape, name = p_instancer, edit = True, rotation = "rotationPP")
# Error: Invalid particle attribute name: rotationPP. #
Any ideas? Are there some connections I need to take care of manually before getting to this point?