Fusion360Exporter icon indicating copy to clipboard operation
Fusion360Exporter copied to clipboard

Populated admin folder, exporter doesn't export anything

Open orbitinstasis opened this issue 6 months ago • 12 comments

Log file below, but the exporter doesn't seem to export anything. I know i have about 15 projects in my admin folder, and i've tried using different options in the dialogue box.

{ "folder": "C:\\Users\\####\\Downloads\\Exported Fusion Files", "formats": [ "f3d", "step", "stl", "3mf" ], "projects_folders": { "a.YnVzaW5lc3M6bXl1Y2wyMjA2I0QyMDIyMDgxMTU0NTg3NzY3Ng": [ "urn:adsk.wipprod:fs.folder:co.IdlEChFCSACvGgGkUedmVw" ], "a.YnVzaW5lc3M6bXl1Y2wyMjA2IzIwMjIwOTAxNTUxNjcyODI2": [ "urn:adsk.wipprod:fs.folder:co.ipOxudXPQp28GqDw0GCvuQ" ], "a.YnVzaW5lc3M6bXl1Y2wyMjA2I0QyMDIyMDgxMTU0NTg3NzY1MQ": [ "urn:adsk.wipprod:fs.folder:co.TET33f5GTR2R-Mky74b5vQ", "urn:adsk.wipprod:fs.folder:co.K5ezRFtnSAm-Ps9rIIZQlA" ] }, "unhide_all": true, "save_sketches": false, "num_versions": 0, "export_non_design_files": true } Visiting folder New Folder Saved 0 files Skipped 0 files Encountered 0 errors Log file is at C:\Users\####\Downloads\Exported Fusion Files\2025_06_13_14_46.txt

orbitinstasis avatar Jun 13 '25 13:06 orbitinstasis

Not sure. Can you get it to work anywhere?

aconz2 avatar Jun 13 '25 22:06 aconz2

I am unable to login on another machine to try because the email expired.

orbitinstasis avatar Jun 17 '25 12:06 orbitinstasis

I'm having a similar issue. I installed the script and exported one project which worked fine. Then I ran it again selecting another project, but it failed to export the project. Here is the log:

{
  "folder": "C:\\Users\\twilk\\Fusion360Export",
  "formats": [
    "step"
  ],
  "projects_folders": {
    "a.YnVzaW5lc3M6Y3NkZXNpZ25pbmMjMjAyNDEyMjA4NDg5Mjk0NTY": [
      "urn:adsk.wipprod:fs.folder:co.ZReFucu1QXi9EZS1YXxbLg"
    ]
  },
  "unhide_all": true,
  "save_sketches": false,
  "num_versions": 0,
  "export_non_design_files": false
}
Saved 0 files
Skipped 0 files
Encountered 0 errors
Log file is at C:\Users\twilk\Fusion360Export\2025_07_29_17_05.txt

I tried removing the script, restarting Fusion and re-installing but still nothing installs and the message (and log file) is:

Image

2025_07_29_17_33.txt

twilkinson avatar Jul 29 '25 21:07 twilkinson

@orbitinstasis by "anywhere" I meant "any project"? @twilkinson mentions it works in one project but not another. Any more info about what projects it does vs doesn't work in might help us figure out what is going on.

For @twilkinson specifically, if you're not getting a log line like "Visiting folder" (from here) then you might try throwing in some more log() calls in main here. You should be able to modify the Exporter.py file in place, should be in %AppData%\Autodesk\Autodesk Fusion 360\API\Scripts on Windows I think.

Maybe this has to do with filtering projects/folders? readme, it is perhaps a bit poorly explained but if you select <root> then we don't descend into subsequent folders, only projects that are in the root folder are exported

aconz2 avatar Jul 30 '25 20:07 aconz2

I've narrowed it down to whether or not I check the "Show Project Folders" option. If checked, the project I select is NOT exported, if unchecked the project I select is exported.

Image

twilkinson avatar Jul 30 '25 20:07 twilkinson

Okay that is helpful. When "Show Project Folders" is selected, the "Export Projects" list should get populated with a {project}/{folder} combination, like Fusion Mastery/<root>, Fusion Mastery/folderA ... WoodenBicycle/<root>, WoodenBicycle/folderB. Does yours do that?

aconz2 avatar Jul 30 '25 21:07 aconz2

When "Show Project Folders" is selected it looks like this:

Image

twilkinson avatar Jul 30 '25 21:07 twilkinson

Hmm where am I getting the <root> thing from? Maybe Fusion used to use that as the root folder name (code here).

Anyways, to double check, if you then check WoodenBicycle/WoodenBicycle, does anything get exported? And are your files all within the top level folder of WoodenBicycle?

aconz2 avatar Jul 30 '25 21:07 aconz2

Here are the selections: Image

There are no files exported: Image

Here is the log file:

{
  "folder": "C:\\Users\\twilk\\Fusion360Export",
  "formats": [
    "f3d",
    "step"
  ],
  "projects_folders": {
    "a.YnVzaW5lc3M6Y3NkZXNpZ25pbmMjMjAyNDEyMjA4NDg5Mjk0NTY": [
      "urn:adsk.wipprod:fs.folder:co.ZReFucu1QXi9EZS1YXxbLg"
    ]
  },
  "unhide_all": true,
  "save_sketches": true,
  "num_versions": 0,
  "export_non_design_files": false
}
Saved 0 files
Skipped 0 files
Encountered 0 errors
Log file is at C:\Users\twilk\Fusion360Export\2025_07_30_21_03.txt

The project contains 2 documents: Image

These are the components of the 'HOOPY' document (the 'side_right' and 'side_left' sub-components reference the 'hoopy_side' document below): Image

These are the components of the 'hoopy_side' document: Image

twilkinson avatar Jul 31 '25 01:07 twilkinson

I just gave this another go and got it working! thanks, saved me a headache

On Thu, 31 Jul 2025 at 02:15, Terry Wilkinson @.***> wrote:

twilkinson left a comment (aconz2/Fusion360Exporter#30) https://github.com/aconz2/Fusion360Exporter/issues/30#issuecomment-3138269277

Here are the selections: image.png (view on web) https://github.com/user-attachments/assets/d69ccc08-47db-4e50-b682-1cb974973a41

There are no files exported: image.png (view on web) https://github.com/user-attachments/assets/d69f0468-349c-43af-82f2-3b6e867d8304

Here is the log file:

{ "folder": "C:\Users\twilk\Fusion360Export", "formats": [ "f3d", "step" ], "projects_folders": { "a.YnVzaW5lc3M6Y3NkZXNpZ25pbmMjMjAyNDEyMjA4NDg5Mjk0NTY": [ "urn:adsk.wipprod:fs.folder:co.ZReFucu1QXi9EZS1YXxbLg" ] }, "unhide_all": true, "save_sketches": true, "num_versions": 0, "export_non_design_files": false } Saved 0 files Skipped 0 files Encountered 0 errors Log file is at C:\Users\twilk\Fusion360Export\2025_07_30_21_03.txt

The project contains 2 documents: image.png (view on web) https://github.com/user-attachments/assets/e68c6256-9669-4a2a-a76b-f727235a1e0e

These are the components of the 'HOOPY' document (the 'side_right' and 'side_left' sub-components reference the 'hoopy_side' document below): image.png (view on web) https://github.com/user-attachments/assets/13b0e843-2008-4d80-b75e-bbd77b289c0f

These are the components of the 'hoopy_side' document: image.png (view on web) https://github.com/user-attachments/assets/f6f3dae9-cf71-4271-93aa-79402b67f7e5

— Reply to this email directly, view it on GitHub https://github.com/aconz2/Fusion360Exporter/issues/30#issuecomment-3138269277, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMDU4YSEZOVBREG2RITU2L3LFUZTAVCNFSM6AAAAAB7IGKPY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZYGI3DSMRXG4 . You are receiving this because you were mentioned.Message ID: @.***>

orbitinstasis avatar Jul 31 '25 11:07 orbitinstasis

Ok, thanks for the detailed debugging you've done. Seems like that should be working, I'll have to try some testing on my end. In the meantime I think the suggested workaround is to not use "Show Project Folders".

aconz2 avatar Jul 31 '25 15:07 aconz2

I don't know if it was the fix but not using show project folders was when it worked.

On Thu, 31 Jul 2025, 16:38 Andrew Consroe, @.***> wrote:

aconz2 left a comment (aconz2/Fusion360Exporter#30) https://github.com/aconz2/Fusion360Exporter/issues/30#issuecomment-3140438636

Ok, thanks for the detailed debugging you've done. Seems like that should be working, I'll have to try some testing on my end. In the meantime I think the suggested workaround is to not use "Show Project Folders".

— Reply to this email directly, view it on GitHub https://github.com/aconz2/Fusion360Exporter/issues/30#issuecomment-3140438636, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMDU45IYG5WT23C5UNIAN33LIZ53AVCNFSM6AAAAAB7IGKPY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBQGQZTQNRTGY . You are receiving this because you were mentioned.Message ID: @.***>

orbitinstasis avatar Jul 31 '25 15:07 orbitinstasis