DropDownCommandInput reports NoneType for .classType() method

DropDownCommandInput reports NoneType for .classType() method

scott
Participant Participant
95 Views
0 Replies
Message 1 of 1

DropDownCommandInput reports NoneType for .classType() method

scott
Participant
Participant

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:

scott_0-1707432141852.png

 

0 Likes
96 Views
0 Replies
Replies (0)