|
| Re: Materials not Deleting |
 |
Wed, 23 May 2007 07:03:55 +000 |
I ended up with :
lList = []
..for lMats in lSystem.Materials:
...if len( lMats.Parents ) != 0:
....if not (re.match("Default.*", lMats.Name)):
.....lList.append(lMats)
map( FBComponent.FBDelete, lList )
|
| Post Reply
|
|
|
|
|
|
|
|
|
|