disassemble non copyable entities into virtual entities if possible # 495
@@ -197,6 +197,9 @@ def virtual_block_reference_entities(
try:
copy = entity.copy()
except DXFTypeError:
+ if hasattr(entity, "virtual_entities"):
+ yield from entity.virtual_entities()
+ else:
skipped_entity_callback(entity, "non copyable") # type: ignore
else:
if hasattr(copy, "remove_association"):
