ImportManager Runtime Error in Command Input Code

ImportManager Runtime Error in Command Input Code

lucas.devito
Explorer Explorer
456 Views
1 Reply
Message 1 of 2

ImportManager Runtime Error in Command Input Code

lucas.devito
Explorer
Explorer

My code is crashing when I import components into my current design. I get a run time error when the code enters the function importarqfusion and reads line 1010.  I'm not sure what is causing this, as I was using the same code before I introduced command inputs to it. Any help is appreciated!

Run functionRun functionimportarqfusion functionimportarqfusion functionError MessageError Message

0 Likes
457 Views
1 Reply
Reply (1)
Message 2 of 2

kandennti
Mentor
Mentor

Hi @lucas.devito .

 

Is it the script that is giving you the error? Is it an add-in?

 

Since the update of Ver 2.0.12157, there seems to be a problem when importToTarget is used in the execute event handler of a custom command.

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/addin-cause-the-crash-shutdown-of-fusion-a... 

 

However, there was no problem before Ver 2.0.12157.

0 Likes