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: 

Where to install a Python module so a Python script can import it?

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
cadTPLWJ
267 Views, 7 Replies

Where to install a Python module so a Python script can import it?

In F360 running on Win10, I want to use "import svgwrite" in my script. 

Where shall I "pip install " to for this to work?

 

I realise this has been asked a lot before, but I have not found anything that works for me yet.

7 REPLIES 7
Message 2 of 8
Jorge_Jaramillo
in reply to: cadTPLWJ

Hi,

 

In this topic https://forums.autodesk.com/t5/fusion-360-api-and-scripts/import-data-from-excel-type-xlsx/m-p/11249... on message #5 I gave a solution step-by-step to make it work.

Please take into account that Fusion 360 will include soon Python's version 3.10 and the procedure could change.

 

I hope this could help.

 

Regards,

Jorge Jaramillo

Software Engineer

 

 

 

Message 3 of 8
cadTPLWJ
in reply to: Jorge_Jaramillo

 @Jorge_Jaramillo 

In the Text Command window in Fusion you will get something like this:

Please tel me, where will this text appear?

 

Message 4 of 8
Jorge_Jaramillo
in reply to: cadTPLWJ

Which text are you talking about?
Didn't get your question. Please explain it.
Message 5 of 8
cadTPLWJ
in reply to: cadTPLWJ

@Jorge_Jaramillo 

In this topic https://forums.autodesk.com/t5/fusion-360-api-and-scripts/import-data-from-excel-type-xlsx/m-p/11249... 

You say -->  7. Finally run the script and check for the data in Text Commands window:

As an inexperienced user I can't find the "Text Commands window"

Message 6 of 8
Jorge_Jaramillo
in reply to: cadTPLWJ

Hi @cadTPLWJ ,

 

Under menu File > View > Hide/Show Text Commands you can hide/display the Text Command window which by default is located in Fusion's lower area:

wtallerdemadera_0-1693253134031.png

 

Every app.log() call will print the output to this window.  I use it often to test my developments.

 

Regards,

Jorge Jaramillo

Software Engineer

 

 

Message 7 of 8
cadTPLWJ
in reply to: cadTPLWJ

@Jorge_Jaramillo 

app.log() is a nice debug tool, thanks!

Also got the pip install to work as described. Again, Thanks!

Message 8 of 8
Jorge_Jaramillo
in reply to: cadTPLWJ

It's nice it helped you out.

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