Hello everyone,

I’m using the dxf2dwg program and converting does prints some errors and warning:

ERROR: dwg_dynapi_entity_set_value: Invalid VPORT_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid LTYPE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid LAYER_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid STYLE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid VIEW_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid UCS_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid APPID_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid DIMSTYLE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid BLOCK_CONTROL field objid
Warning: Unknown HEADER.DIMSTYLE STANDARD dxf:3
Warning: Unknown HEADER.CMLSTYLE STANDARD dxf:2
Warning: Unknown HEADER.DIMSTYLE STANDARD dxf:3
Warning: Object handle not found, 1/1 in 41156 objects
Warning: Object handle not found, 12/C in 41156 objects

The program successfully outputs to a DWG file. However, I got “Drawing file was created by an incompatible version” when opening it on Autodesk DWG Trueview 2022. Any clue? Thanks in advance 
dxf2dwg file does not open with minimal DXF
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : dxf2dwg file does not open with minimal DXF
Issue date:

--- start body ---
Hello everyone,

I’m using the dxf2dwg program and converting does prints some errors and warning:

ERROR: dwg_dynapi_entity_set_value: Invalid VPORT_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid LTYPE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid LAYER_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid STYLE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid VIEW_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid UCS_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid APPID_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid DIMSTYLE_CONTROL field objid
ERROR: dwg_dynapi_entity_set_value: Invalid BLOCK_CONTROL field objid
Warning: Unknown HEADER.DIMSTYLE STANDARD dxf:3
Warning: Unknown HEADER.CMLSTYLE STANDARD dxf:2
Warning: Unknown HEADER.DIMSTYLE STANDARD dxf:3
Warning: Object handle not found, 1/1 in 41156 objects
Warning: Object handle not found, 12/C in 41156 objects

The program successfully outputs to a DWG file. However, I got “Drawing file was created by an incompatible version” when opening it on Autodesk DWG Trueview 2022. Any clue? Thanks in advance 
--- end body ---
