DropDownCommandInput reports NoneType for .classType() method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The adsk.core.DropDownCommandInput.classType() method throws an error, reporting that " 'NoneType' object has no attribute 'classType'". The entire error is included below. For testing purposes, I started a from-scratch script to test. A screen shot from the debug session's also attached.
Error message:
Failed:
Traceback (most recent call last):
File "/Users/scottlucas/Library/Application Support/Autodesk/Autodesk Fusion 360/API/Scripts/Type Test/Type Test.py", line 12, in run
print(adsk.core.DropDownCommandInput.classType())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'classType'
Debug session: