The dwg (and json) contains the entities, blocks, extras offsets and size absolutely in bytes.
But when reading from DXF (or changed JSON) we only know the start/end object indices, not the offsets and size.

so we need helper functions to find the first BLOCK and last ENDBLK, und use the object index for the API, not the positions and sizes.
change encode_preR13_entities API (again)
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : change encode_preR13_entities API (again)
Issue date:

--- start body ---
The dwg (and json) contains the entities, blocks, extras offsets and size absolutely in bytes.
But when reading from DXF (or changed JSON) we only know the start/end object indices, not the offsets and size.

so we need helper functions to find the first BLOCK and last ENDBLK, und use the object index for the API, not the positions and sizes.
--- end body ---
