How Can I generate my own Script.

How Can I generate my own Script.

Anonymous
Not applicable
929 Views
1 Reply
Message 1 of 2

How Can I generate my own Script.

Anonymous
Not applicable

how can I generates  a tyre for the using  of create script function 

Any one described that how can i create my own script according to me. 

930 Views
1 Reply
Reply (1)
Message 2 of 2

erik
Advocate
Advocate

Well, I don't know excatly what you are asking for, but I can tell you the basics of scripts in Fusion 360.

 

Picture used for reference in the explanation below.

Scripts basics.PNG

In Fusion you can hit the AddIns button (Red) in the main toolbar. A dialog pops up and here you see all of the scripts implemented in Fusion (As well as AddIns in under the Add-Ins tab.)

Pressing Create button (Blue) opens a new dialog where you can type in the details of your script and the language which you want to use for you script.

Pressing the Create button (Purple) in the new dialog creates the dialog and you should be able to see it in the Scripts and Add-Ins dialog.

 

By selecting the newly created script and pressing Run (Green) a dialog should popup saying "Hello script".

To edit the script you have to open the Scripts and Add-Ins dialog once again, select your script and press Edit (Orange). If you havn't done this before Fusion will automatically install an editor on your pc.

 

If you want any help on writing your script Fusion API is a great place to look. Here you fint code examples as well as full documentation of the objects used for programming in Fusion.

Link to API: http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-A92A4B10-3781-4925-94C6-47DA85A4F65A

Link to documentation of objects: http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-7B5A90C8-E94C-48DA-B16B-430729B734DC

 

They made a post on the forum to help using the API: https://forums.autodesk.com/t5/fusion-360-api-and-scripts/tips-and-tutorials-to-help-you-get-started...

In depth description of creating scripts: https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-9701BBA7-EC0E-4016-A9C8-964AA4838954

 

Please reply if you have any question to the above or this didn't answer your question

 

- Erik

0 Likes