If I do it manually frame by frame, it won't cause any problem.
(select particle using Particle Selection tool, remove particle, rebuild mesh)
I tried to automate this process using following script;
Code: Select all
emitter = Binary_LoaderBlood
mesher = BloodMesh
firstframe = 5201
lastframe = 5740
removep = emitter.getSelectedParticles("group 1")
removeid = []
for partic in removep:
pid = partic.getId()
removeid.append(pid)
for frame in range (firstframe, lastframe +1):
scene.setCurrentFrame(frame)
for parti in removeid:
emitter.removeParticle(parti)
emitter.export()
mesher.build()
mesher.export()
However, every time I try to save the scene file after running this script, RealFlow crushes and I will never be able to open the scene file again.
Can anyone think of any cause of it?
I'm using RealFlow2014 and 2015, both cause the same error.
Another question, is this the best place to report bug?
I couldn't find anywhere else to report.