Parameter/Dependencies for Custom Compute Feature

Parameter/Dependencies for Custom Compute Feature

akshaypat08
Explorer Explorer
351 Views
3 Replies
Message 1 of 4

Parameter/Dependencies for Custom Compute Feature

akshaypat08
Explorer
Explorer

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?

0 Likes
352 Views
3 Replies
Replies (3)
Message 2 of 4

Jorge_Jaramillo
Collaborator
Collaborator

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.

 

Regards,

Jorge

0 Likes
Message 3 of 4

akshaypat08
Explorer
Explorer

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!

0 Likes
Message 4 of 4

BrianEkins
Mentor
Mentor

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
Website/Blog: https://EkinsSolutions.com
0 Likes