Script in Phython in loop when importing fusion component

Script in Phython in loop when importing fusion component

vitor.carneiro
Participant Participant
447 Views
2 Replies
Message 1 of 3

Script in Phython in loop when importing fusion component

vitor.carneiro
Participant
Participant

Hi!

I would like to ask a question.
I have a python script that I use TextCommands to enter some values, perform some operations and then import fusion files with the importManager function. Until last week the script worked normally, but I had to uninstall and reinstall Fusion from my computer and from then on, when I run the script, it keeps looping. It is no longer able to import the files. The script runs up to the line above the fusion files import and returns to the beginning.

Note 1: The script does not have any loop function (While or For) to have this loop.
Note 2: The same script without any changes was running normally last week, and now it doesn't run anymore.

Can anybody help me ?

 

Thank you very much.
Sincerely,
Victor Urel

0 Likes
448 Views
2 Replies
Replies (2)
Message 2 of 3

tykapl.breuil
Advocate
Advocate

It is complicated to bring any real help if you don't give us your code, or a sample program that displays the issue.

0 Likes
Message 3 of 3

BrianEkins
Mentor
Mentor

I suspect this is related to the problem reported here: https://forums.autodesk.com/t5/fusion-360-api-and-scripts/addin-cause-the-crash-shutdown-of-fusion-a...

 

It would be good if you can post some code that can reproduce the problem so it can be determined if it is the same problem and to provide the developers some more insight as to the specific cause.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes