ExplodeBlockInstance() Bug

@dale @stevebaer
When using ExplodeBlockInstance() on blocks from a referenced worksession file, I am left with an unmovable, undeletable copy of the exploded geometry. Please see video below.

import rhinoscriptsyntax as rs

o = rs.GetObject()
if o:
    rs.ExplodeBlockInstance(o)

Hi @silvano,

Does this help?

import rhinoscriptsyntax as rs

o = rs.GetObject()
if o and not rs.IsObjectReference(o):
    rs.ExplodeBlockInstance(o)

– Dale