Line length

Discuss and ask questions about CADEditorX and XML API.

Moderators: SDS, support, admin

Post Reply
kapedersen
Posts: 1
Joined: 09 Aug 2024, 20:27

Line length

Post by kapedersen » 14 Aug 2024, 02:07

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

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Line length

Post by support » 21 Aug 2024, 15:26

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
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply