Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run on Startup Issues

1 REPLY 1
Reply
Message 1 of 2
luke-dempsey
340 Views, 1 Reply

Run on Startup Issues

I have altered the Parameter IO Add-In to have some more features.

 

It works fine, however, I cannot get it to run on startup.

 

I have it set to true in my .manifest file, it is also checked in the AddIns menu. It works fine when I manually launch it, but I just can't get it to run on startup.

 

"runOnStartup":	true,

 

My code is at https://github.com/lukedempsey/ParameterIO_Python/tree/add-export-only-user-params-option

(note that it is on the 'add-export-only-user-params-option' branch)

 

Even just advice on how to debug this would be great

 

Thanks,
Luke

1 REPLY 1
Message 2 of 2
marshaltu
in reply to: luke-dempsey

Hello,

 

I gave a quick testing and found the error as below when I tried to run the addin. 

 

Thanks,

Marshal

 

>>> > c:\users\tum\downloads\parameterio_python-add-export-only-user-params-option\parameterio.py(4)<module>()
-> import adsk.core, adsk.fusion, traceback
(Pdb) continue
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "C:/Users/tum/AppData/Local/Autodesk/webdeploy/production/8b78d7040dfea4f390bf2e76e5fd15ae50511bb0/Spyder\fusionspyderIPC.py", line 190, in debug_script
    sys.debugger.run(statement, global_dict, local_dict)
  File "C:\Users\tum\AppData\Local\Autodesk\webdeploy\production\8b78d7040dfea4f390bf2e76e5fd15ae50511bb0\Python\lib\bdb.py", line 431, in run
    exec(cmd, globals, locals)
  File "<string>", line 1, in <module>
  File "c:\users\tum\downloads\parameterio_python-add-export-only-user-params-option\parameterio.py", line 5, in <module>
    from . import utils
ImportError: cannot import name 'utils'


Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report