Page 1 of 1

Line length

Posted: 14 Aug 2024, 02:07
by kapedersen
is it possible to get the total length of all lines in a dxf drawing or a list of all lines and length on each line

Re: Line length

Posted: 21 Aug 2024, 15:26
by support
Hello,

If you're working with CADEditorX, you can use the following XML instruction:

<?xml version="1.0" encoding="utf-8"?>
<cadsofttools version="2">
<get>
<cstLine/>
</get>
</cadsofttools>

It should return the information about lines, including length. If you need information about other entities, you can replace <cstLine/> with another entity type.

Andrei