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]> 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)
>
>