Rhino 8 - DWG Export Hangs/Crashes

Hello McNeel, enjoying Rhino 8 with our team, thank you.

We are running Version 8 SR4 (8.4.24037.15001, 2024-02-06) and have come across a major issue that we hope you are fixing or have fixed with exporting to DWG (same issue existed with the previous release). The subject geometry in question is not terribly complex, it is flat 2D geometry, it is “754 points, 396 hatches, 3937 curves, 16 texts, 32 Leaders.” When we select it and then attempt to export to DWG, the file automatically hangs – first the blue round progress wheel and then greyed out screen, which we eventually have to force quit to get back to working.

Our current workaround is to export the subject geometry to an older version of Rhino, which then exports the subject geometry to DWG instantaneously without any issue, so it does seem to be a Rhino 8 problem vs. a geometry problem.

Please advise if we can change what we are doing to export successfully or if you can fix on your end.

Thank you.

I guess the best thing would be to post a file here for testing, or upload it directly to McNeel here with a link back to this discussion for reference. Make sure you include your dxf export settings.

I am having a similar issue with Rhino 8. Exporting to DWG takes a relatively long time, about 25 seconds for my current example. While in version 7 it was very fast. I have found that the amount of objects in the open 3dm file influences how long the export takes, even when exporting only a few selected objects. If I select 10 objects in a file of thousands, the export takes a long time. But If I delete all other objects besides those 10 objects, then exporting those same 10 objects is very fast.

I just created a file called “2024.02.26.slow_dwg_export_example.3dm”

2024.02.26.slow_dwg_export_example.3dm (16.0 MB)

Selecting one small group of objects and exporting it to a DWG takes 40.9 seconds. Deleting all other objects but exporting that same exact group of objects exported in the first export test takes 0.24 seconds.

I kept the file size under 20mb to allow it to be uploaded here. But if you add more objects to the file (not the export), the amount of time it takes to export a DWG goes up.

In case you want to time your DWG exports, here is a quick timing python script. Just make sure you use a filename that ends in DWG

import rhinoscriptsyntax as rs
import time

filename = rs.OpenFileName()
if filename:
    scheme = "R12 Natural"
    cmd =  '_-Export "{}" _Scheme "{}" _Enter'.format(filename,scheme)
    
    start = time.time()
    rs.Command(cmd)
    end = time.time()
    
    print( "time elapsed: {}".format( end - start) )

This was recently fixed for 8.6. RH-80577

You test if your version has the fix by running GetIssueState and inputting the youtrack number

Thanks for the reply, Japhy.

Command: GetIssueState
Issue Id: RH-80577
RH-80577 (Closed): git commit in this build = False

I just installed the latest release candidate and it seems like that issue still exists.
Version 8 SR5
(8.5.24051.15001, 2024-02-20)

Hopefully version 8.6 comes soon.

Sending you a pre-release, let us know if this doesn’t improve things. Thanks

the pre-release definitely fixed it. Thanks

Hello Japhy,

Unfortunately, I also suffer from the same problem that exporting a dxf file takes a very long time. I just installed version 8.5.24058.13001, 2024-02-27, but unfortunately that didn’t help. When is the rollout expected of the version that could solve the problem?

thank you very much

If there aren’t any stop-ship issues 8.6 will be the Release Candidate March 12th

Hello Japhy,

Thanks for the quick response. We succeeded with the pre-release.

Thank you!