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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parameter/Dependencies for Custom Compute Feature

Message 1 of 4
111 Views, 3 Replies

Parameter/Dependencies for Custom Compute Feature

I'm in the process of creating a custom feature that involves screws. The user has to select what screw type and screw head type in a drop down menu. For the custom compute class, how would I add this menu as a parameter/dependency?

Message 2 of 4

Hi @akshaypat08 ,


I understand from your question you might need to command inputs of type DropDown:

- first one for screw type

- second one for screw head

Does the values on the second one would change according with what the user select on the first one, or are they independent of each other?


Please clarify in order to help you with instructions about the implementation.




Message 3 of 4

The two are independent. I realized that I could simply add them as dependencies and that I've been overthinking this. Thank you for responding though!

Message 4 of 4
in reply to: akshaypat08

I believe the best approach, in this case, would be to save the screw type and screw head type as custom named values. There's a small section in the Custom Features documentation about this. The hard part will be changing the geometry when the user edits either one of the types.

Brian Ekins
Inventor and Fusion 360 API Expert

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