In ezdxf/explode.py, line 247, the function virtual_block_reference_entities is called in an incorrect way that throws an exception if ever ezdxf goes there.
More specifically, the function definition is:
def virtual_block_reference_entities(
block_ref: "Insert",
*,
skipped_entity_callback: Optional[
Callable[["DXFGraphic", str], None]
] = None,
redraw_order=False,
) -> Iterable["DXFGraphic"]:
pass
But the call is something like virtual_block_reference_entities(entity, skipped_entity_callback) that essentially throws an exception. For me the following call instead fixed the problem, and I think it should be the same at the point that I refer to:
virtual_block_reference_entities(entity, skipped_entity_callback=skipped_entity_callback)
Thanks in advance for taking this issue into account! :)
P.S.: sorry, cannot share with you the DXF to reproduce because it is private, thanks for your understanding!
In ezdxf/explode.py, line 247, the function
virtual_block_reference_entitiesis called in an incorrect way that throws an exception if ever ezdxf goes there.More specifically, the function definition is:
But the call is something like
virtual_block_reference_entities(entity, skipped_entity_callback)that essentially throws an exception. For me the following call instead fixed the problem, and I think it should be the same at the point that I refer to:virtual_block_reference_entities(entity, skipped_entity_callback=skipped_entity_callback)Thanks in advance for taking this issue into account! :)
P.S.: sorry, cannot share with you the DXF to reproduce because it is private, thanks for your understanding!