Fusion API DXF import problem

ScottFergTMXEZ
Contributor
Contributor

Fusion API DXF import problem

ScottFergTMXEZ
Contributor
Contributor

A recent update to Fusion 360 broke my FMGears (C++) add-in. It worked in Fusion version 2.0.19440 x86_64 but fails after upgrading to 2.0.20948 x86_64, so somewhere in between a change occurred to break FMGears. It uses DXF import to generate a sketch with the profile of the gear, i.e. importManager->createDXF2DImportOptions and importManager->importToTarget.

This import process now imports the gear's profiles as construction curves rather than normal curves as it did before. This causes an error when trying to extrude elements of the sketch to create the 3D gear. I may have a workaround for the issue, but this seems like an undesirable breaking change for ALL users of this API function and should likely be corrected.

0 Likes
Reply
Accepted solutions (1)
210 Views
7 Replies
Replies (7)

HughesTooling
Consultant
Consultant

This bug has been reported and acknowledged by Autodesk. It affects DXF import in general, not just the API.

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


1 Like

ScottFergTMXEZ
Contributor
Contributor

Where can I find this bug report so that I may track it and know when an upcoming update with the fix will be released?

Thanks!

0 Likes

Steven_Gao
Autodesk
Autodesk

It's just an internal defect tracking system. Usually, we listed the fixed issues in What's new of each major releases and also posted it in forum like below:

https://forums.autodesk.com/t5/fusion-design-validate-document/november-2024-update-and-community-bu... 

0 Likes

ScottFergTMXEZ
Contributor
Contributor

Is there any update to the status of this bug? 4 weeks now and still no resolution?!

0 Likes

@ScottFergTMXEZ InsertDXF seems to work correctly now so is this now just a problem using the ADI to import DXF files?

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

Accepted solution

@ScottFergTMXEZ With the update that caused the problem there was also a change to allow import\export of construction lines. Experimenting a bit using Rhino3d and looking at DXFs from Fusion, what I've found is anything on layer 1 will import into Fusion as construction geometry. Does the add in you're using import the gear on layer 1 by any chance?

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

Yes, that's extremely helpful and provides a useful workaround for my problem!!

 

This still seems like a very serious break to DXF import. Layer "1", I suspect, is a very common name used by many legacy producers of DXF files, now broken by this change. Do they plan to correct this, or just document it as a new "feature"?

 

FYI: FMGears is actually an add-in I created and made available now for many years for free. So I can change the code to avoid layer "1", work around this breakage, and make this functionality once again available to my users.

 

Thanks so very much, Mark!

0 Likes