Deleting PFlow via Script

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  07 July 2007
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?

Last edited by scrimski : 07 July 2007 at 05:00 PM.
  07 July 2007
yes you can

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
  07 July 2007
No, it doesn't. It would only delete every object with the characters 'Particle' in its name, so no luck.
  07 July 2007

Originally Posted by scrimski: 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
  07 July 2007
Thumbs up i found 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
  07 July 2007
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:15 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.