Intro to API in Fusion 360 Part 6 - Create a User Parameter Template Script #Fusion360API #Python

preview_player
Показать описание
In this video we will wrap up the program by creating a script to build a "template" of user parameters for a design. Because we don't have Template Docs in Fusion 360 for a design we can use this functionality to quickly populate parameters that could be helpful for a user.

This program could continue to be developed to hard code more parameters or open up a dialog with all the "defaults" and allow the user to change those before accepting.

Hopefully this introduction to Fusion API will help someone trying to learn how to work with API, how to start and how to debug a little. Once again I am not a Programmer so that may help some, but not other. Check the first video description for some good Youtube resources.
Рекомендации по теме
Комментарии
Автор

Very Useful Content. I'm trying to animate CAD of a mechanical unit using Python, knowing the basics of API helps a lot. Thanks for sharing this. :)

bkairosh
Автор

Please upload more this kind of videos

Globean
Автор

To prevent confusion from having so many similarly named variables just reuse the same variable:
inputAngle = 2
inputAngle = unitsMgr.evaluateExpression(str(inputAngle), 'deg')
inputAngle =
design.userParameters.add(inputName, inputAngle, 'deg', '')

ryanpeterson
Автор

You didn't made a complete example video, from script to design, like taking input parameters: length, height and width -> then creating a box out of it

cader_d