View Full Version : Deleting PFlow via Script
scrimski 07-18-2007, 04:58 PM 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?
|
|
hogobingo
07-18-2007, 06:14 PM
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
scrimski
07-18-2007, 06:28 PM
No, it doesn't. It would only delete every object with the characters 'Particle' in its name, so no luck.
hogobingo
07-18-2007, 06:34 PM
It would only delete every object with the characters 'Particle' in its name
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
hogobingo
07-22-2007, 07:27 PM
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
CGTalk Moderation
07-22-2007, 07:27 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.