how to find length of entity from dxf file ?

how to find length of entity from dxf file ?

Anonymous
Not applicable
3,947 Views
5 Replies
Message 1 of 6

how to find length of entity from dxf file ?

Anonymous
Not applicable

Can i find length of entity from dxf file ?

 

if not will i get the length of entity(spline or polyline) by analysing entity data from dxf file ?

0 Likes
Accepted solutions (1)
3,948 Views
5 Replies
Replies (5)
Message 2 of 6

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

Within the DXF you find data how objects are created, not the properties from calculations.

You'll have to do your calculations by yourself of by loading the DXF-file into a software that knows the object an can do the calculations for you.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 6

Anonymous
Not applicable
Hi,

Thanks for the answer.

i am creating a software to calculate length of object from dxf file.

i am referencing dxf file format for this operation.please provide any hint
to calculate the length of object from dxf file
0 Likes
Message 4 of 6

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> please provide any hint to calculate the length of object

Which object type(s)?, this can be a simple line, curved or splined (2d)polyline, 3d-spline, up to application specific proxy objects ...

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 6

Anonymous
Not applicable
splined (2d)polyline, 3d-spline
0 Likes
Message 6 of 6

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

sorry, please don't wait for results from my side ... I would have to use Google-search for geometry calculation sites too.

And I would estimate differences in when calculating splines as there are some different calculation methods depening on the parametrization.

 

Good luck, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes