Not an expert maxscripter, so please be kind.
I have a Particle Skinner modifier assigned to an editable mesh (‘theMesh’). When I try to assign a Particle Flow System (‘pfSource’) to the modifier through maxscript like this…
theMesh.modifiers[#Particle_Skinner].Particle_Flow_Systems = #(pfSource)
…it throws this error:
“-- Runtime error: Invalid value for property: $PF_Source:PFSource_001 @ [0.000000,0.000000,0.000000]”
If I use the ‘append’ method, I get the same error.
If I do it manually, it work perfectly fine.
If I follow these steps, it also works ok:
- Assign Particle flow system manually.
- Remove it manually.
- Run the maxscript code.
So I think it’s a 3ds max bug. I need to do all the work by code, not manually. So please help me.
If it’s a bug, please help me find some workaround for this.
Thanks in advance!