Not sure if I picked the right classID so if it doesn't find a match try
some others

http://download.autodesk.com/global/docs/softimage2014/en_us/sdkguide/si_om/siClassID.html



On Thursday, February 5, 2015, David Gallagher <[email protected]>
wrote:

>  Great! I will try it.
> On 2/5/2015 5:37 AM, David Barosin wrote:
>
>  This is untested but the idea is there.
>
> ###
> import win32com
> from win32com.client import constants as c
>
> oCls = Application.FindObjects2(c.siClusterID)
>
> for i in oCls:
>     if "clskey<" in i.Name:
>         Application.DeleteObj(i)
>
> ###
>
> On Thu, Feb 5, 2015 at 12:59 AM, David Gallagher <
> [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>>
>> Does anyone know how I can purge my scene from these clusterkeys I can't
>> seem to delete? It errors with this each time I save this file.
>>
>> ' WARNING : 3000 - Save: [6] objects were not saved normally
>> ' WARNING : 3000 - -- [clskey<267>] was saved, but is disconnected from
>> the scene. (Floating object)
>> ' WARNING : 3000 - -- [clskey<52056>] was saved, but is disconnected from
>> the scene. (Floating object)
>> ' WARNING : 3000 - -- [clskey<3221>] was saved, but is disconnected from
>> the scene. (Floating object)
>> ' WARNING : 3000 - -- [clskey<18389>] was saved, but is disconnected from
>> the scene. (Floating object)
>> ' WARNING : 3000 - -- [clskey<52757>] was saved, but is disconnected from
>> the scene. (Floating object)
>> ' WARNING : 3000 - -- [clskey<21774>] was saved, but is disconnected from
>> the scene. (Floating object)
>>
>>
>
>

Reply via email to