Use bool to suppress extrude feature

Use bool to suppress extrude feature

agcglass
Contributor Contributor
428 Views
3 Replies
Message 1 of 4

Use bool to suppress extrude feature

agcglass
Contributor
Contributor

is it possible to use a bool_value_input to suppress an extrude feature in my timeline? I am stuck and cannot figure out how to write the command with the correct handler and definition to achieve this. 

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

Jorge_Jaramillo
Collaborator
Collaborator
Hi,

You might need to write an executeEventHandler where you check the value property of the BoolValueCommandInput and use its result to set the isSuppressed property of the TimelineObject you need to change.

Is this what you're looking for?
I hope this could help you out.

Regards,
Jorge Jaramillo
Software Engineer
0 Likes
Message 3 of 4

magnus.wallem65FKK
Participant
Participant

Hi, 

 

I think actually you could use the new Configuration system in F360 for this. 

0 Likes
Message 4 of 4

agcglass
Contributor
Contributor

@Jorge_Jaramillo I honestly have no idea if that will work or how to go about that. I am new to Fusion and even newer to Python code. But I am watching and reading as much as I can to learn, I just cant figure out how to find where all the names (executeEventHandler, isSuppressed, TimelineObject, ect.) come from and then "tie" them to each other. Basically I have absolutely no code knowledge.

 

@magnus.wallem65FKK, I started with the new configuration system. It is a very nice addition to Fusion but I am needing something that is organized a little better. I will have somewhere in the neighborhood of 500+ different sketches that have an extrude feature. We are a commercial glass shop that is trying to set up a new CNC machine to mill out the doors to apply hardware to them. So I am trying to come up with the easiest way to organize, search and apply/remove the different extrude features if that makes any sense.

0 Likes