CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Czech English Deutsch
Login/Register:
 Visitors: 3612 
RSS tips RSS channel - CAD tips
RSS discussion RSS channel - CAD discussion

Discussion Discussion forum

HelpCAD discussion

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

The information that you provide in this form will make up your forum profile which can be viewed by other forum members. Your email address will only be visible by forum admin and moderators and will be used to send you Forum Notifications. To cancel your account, use the page Opt-out or contact webmaster@cadforum.cz.

Calculate the area of many DXF-file in batch

 Post Reply Post Reply
Author
GVR207 View Drop Down
Newbie
Newbie


Joined: 23.Dec.2010
Location: Netherlands
Using: NX 10
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote GVR207 Quote  Post ReplyReply Direct Link To This Post Topic: Calculate the area of many DXF-file in batch
    Posted: 22.Feb.2019 at 11:16
Hi All,

I need to calculate the area / surface of a couple of thousands of laser-dxf files. So the files only contains the part and no other data like text or dimensions.
Is there any tool I can use to open all the dxf files automatically and to create an export file (CSV, TXT, .....) with all the area's in it?

Hope someone can help. It's too much work to do it manually.

Thanks in advance.


Edited by GVR207 - 22.Feb.2019 at 11:18
Back to Top
ketxu View Drop Down
Newbie
Newbie


Joined: 25.Nov.2010
Location: Vietnam
Using: Autocad2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote ketxu Quote  Post ReplyReply Direct Link To This Post Posted: 22.Feb.2019 at 15:55
Can you post some of drawing to test ?
Back to Top
GVR207 View Drop Down
Newbie
Newbie


Joined: 23.Dec.2010
Location: Netherlands
Using: NX 10
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote GVR207 Quote  Post ReplyReply Direct Link To This Post Posted: 22.Feb.2019 at 16:17
Here are 4 DXF files.
Thank you that you will test something.

Back to Top
GVR207 View Drop Down
Newbie
Newbie


Joined: 23.Dec.2010
Location: Netherlands
Using: NX 10
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote GVR207 Quote  Post ReplyReply Direct Link To This Post Posted: 26.Feb.2019 at 14:21
Thank you for your offer ketxu.
I directly uploaded 4 dxf files last week, but that post is still waiting for approval. Unhappy
I hope you can see those files on short term.

BR,
Tjeerd
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

CAD Studio a.s.

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 1765
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vladimir Michl Quote  Post ReplyReply Direct Link To This Post Posted: 05.Mar.2019 at 16:11
Sorry for the late approval. Have you found a way? The geometry is rather complicated (disconnected lines, isles) so it is rather difficult to automate the area calculations.
Vladimir Michl (moderator)
CAD Studio - www.cadstudio.cz - Autodesk reseller
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

CAD Studio a.s.

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 1765
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vladimir Michl Quote  Post ReplyReply Direct Link To This Post Posted: 05.Mar.2019 at 16:29
Without the isles I can imagine a batch with would take all files one by one and always performs a REGION All and then writes the area of the resulting region to a table or a log file.
Vladimir Michl (moderator)
CAD Studio - www.cadstudio.cz - Autodesk reseller
Back to Top
GVR207 View Drop Down
Newbie
Newbie


Joined: 23.Dec.2010
Location: Netherlands
Using: NX 10
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote GVR207 Quote  Post ReplyReply Direct Link To This Post Posted: 05.Mar.2019 at 16:29
Thank you Vladimir for approval.
Sadly I can't change those files. That's how Siemens NX and Teamcenter is exporting the laser-DXF files.
But gladly this problem can probably be solved by someone of Siemens, but not with the use of the DXF files. But that's not really clear yet.

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,047 seconds.