Contact an Expert

Thread: AutoCAD dxf file import ERROR


Permlink Replies: 2 - Pages: 1 - Last Post: Mar 11, 2012 11:41 PM Last Post By: wangyiliu99
wangyiliu99

Posts: 172
Registered: 09/03/13
AutoCAD dxf file import ERROR
Posted: Feb 21, 2012 11:24 PM
Click to report abuse...   Click to reply to this thread Reply
Attachment Error.JPG (22.6 KB)
Hi, everyone,

I am using the latest version 2011.12.
When dxf file is imported into EMPro, everything works okay.
However, once I started the FEM simulation, the following error occurred.
Anyone ever encountered similar error before?

BR,
Yiliu
hardevos

Posts: 5
Registered: 05/23/11
Re: AutoCAD dxf file import ERROR
Posted: Feb 23, 2012 12:56 AM   in response to: wangyiliu99 in response to: wangyiliu99
Click to report abuse...   Click to reply to this thread Reply
Hello,

there is a problem with the way the DXF import deals with the geometry modeling units. When importing in mm or in meters there is no problem, but when using micrometers, there is a chance of resolution problems, which cause the errors you see.
We are working on a fix for the next EMPro release (2012.05)

In the mean time you can use the following work around:

1. Import the dxf file in meters
2. Run the following python script

fl = empro.activeProject.geometry().flatList(False)
for p in fl:
p.unit = empro.units.unitByAbbreviation("um")


Kind regards,

Harald.
wangyiliu99

Posts: 172
Registered: 09/03/13
Re: AutoCAD dxf file import ERROR
Posted: Mar 11, 2012 11:41 PM   in response to: hardevos in response to: hardevos
Click to report abuse...   Click to reply to this thread Reply
Dear Harald,

thanks a lot for your instructions.

BR,
Yiliu

Point your RSS reader here for a feed of the latest messages in all forums