Subject: Persistent AttributeError on doc.editManager / design.designFeatures Despite Reinstalls (Fusion 2601.0.90 x86_64)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I'm encountering a persistent and unusual issue when trying to use the Fusion 360 Python API. Core properties required for design modification seem to be missing from the API objects, specifically doc.editManager and design.designFeatures.
Environment:Fusion 360 Version: 2601.0.90 x86_64 (Educational License)
Operating System: Windows 11
Running Scripts: Via the standard "Scripts and Add-Ins" dialog.
Problem Description:
When running Python scripts, I consistently get an AttributeError when trying to access doc.editManager. The deprecated design.undoManager also fails with the same error.
Crucially, further testing revealed that other core properties are also missing, notably
design.designFeatures.
However, basic API access does work:
adsk.core.Application.get() succeeds.
app.userInterface succeeds.
app.activeDocument returns a valid FusionDocument object.
app.activeProduct returns a valid Design object.
Many other properties like doc.name, doc.products, design.rootComponent, and design.unitsManager are accessible without error.
Diagnostic Script Output:
I ran a diagnostic script (Attempt B from a debugging session) to test various attributes.
Here is the script Attempt B:
Here is the exact output received in the ui.messageBox:
--- Testing Attributes ---
Doc Type: <class 'adsk.fusion.FusionDocument'>
Design Type: <class 'adsk.fusion.Design'>
Testing Document Object:
SUCCESS: doc.name = Untitled (Type: <class 'str'>)
INFO: doc.dataFile is None (Expected for unsaved doc)
SUCCESS: doc.products accessed (Type: <class 'adsk.core.Products'>)
Testing Design Object:
SUCCESS: design.rootComponent accessed (Type: <class 'adsk.fusion.Component'>)
SUCCESS: design.unitsManager.defaultLengthUnits = mm (Type: <class 'str'>)
FAILURE: Accessing design.designFeatures - AttributeError: 'Design' object has no attribute 'designFeatures'
--- Original Manager Test ---
FAILURE: Accessing doc.editManager - AttributeError: 'FusionDocument' object has no attribute 'editManager'
FAILURE: Accessing design.undoManager - AttributeError: 'Design' object has no attribute 'undoManager'
Use code with caution.
Text
Additionally, I observed that standard print() statements within scripts are not appearing in the Text Commands panel, even though ui.messageBox works correctly. Flushing stdout (sys.stdout.flush()) did not resolve this print issue.
Troubleshooting Steps Already Taken:
Verified the script is running from the "Scripts and Add-Ins" dialog.
Confirmed a design document is open and active in the Design workspace.
Tested multiple simple and diagnostic scripts.
Performed a full Repair install of Fusion 360.
Performed a full Uninstall and Reinstall of Fusion 360.
Performed a full clean reinstall of Windows and then reinstalled Fusion 360.
Tested running Fusion 360 "As Administrator": [Result: No Change].
Temporarily disabled third-party Antivirus/Security Software: [Result: No Change].
Question:
Given that core object retrieval and some properties work, but essential properties like editManager and designFeatures are missing even after complete system and application reinstalls, what could be causing this? Is this a known issue with build 2601.0.90, a potential licensing side-effect, a deep environment/permission problem not cleared by reinstalls, or something else?
Any insights or further diagnostic steps would be greatly appreciated.
Thank you!