Hi, This looks like a bug to me. The layer string should be with every element. I'll look at it. JSON is still in work.
bjcj <[email protected]> schrieb am Fr., 19. Juli 2019, 13:57: > Dear: > I am learning our libredwg. I don't find the layer relationship > corresponding to the element in the parsed json data, such as which layer a > certain line belongs to. Please help guide. Thank you! > > { > "entity": "LINE", > "type": 19, > "handle": "0.2.828", > "size": 40, > "bitsize": 302, > "owner": "5.1.31", > "start": [ 30666.462047, 31.762437, 0.000000 ], > "end": [ 30666.462047, -1288.237563, 0.000000 ], > "thickness": 0.000000, > "extrusion": [ 0.000000, 0.000000, 1.000000 ] > } > For example, the above data is a line obtained by parsing dwg. Which layer > should it be in? How do I find the layer of this line? > > > > sincerely yours > > chun ye > > > > >
