[Closed] Deleting PFlow via Script
Is there any way to delete PFlow data via a script command? I’m currently working on a PFlow system which is created by a script, but it only works when I run it in a fresh opened Max. Even deleting the PFlow view by hand doesn’t sove the problem so I guess there is some data remaining. Any chance to access and delete that and how?
it’s really problem always happen in Particle view but i have small code to solve this problem i hope that
the code is (delete $Particle*)
it will delete it
No, it doesn’t. It would only delete every object with the characters ‘Particle’ in its name, so no luck.
ok try to add delete $particle view* i think it’s very hard to found the same name and you have to know that particle view is a helper you can make a filter to delete it
yes i found the way to delete it via script and it can’t be make the wrong luck
part_arr = #()
part_arr = $particle*
for i=1 to part_arr.count do
(
if classof part_arr[i] == Particle_View do delete part_arr[i]
)
part_arr = undefined
now it can’t be wrong
i trying it
and sorry for lating
i was so basy