Catch "New Component" using a Python script

Catch "New Component" using a Python script

isocam
Collaborator Collaborator
462 Views
1 Reply
Message 1 of 2

Catch "New Component" using a Python script

isocam
Collaborator
Collaborator

Can anybody help?

 

When creating a "New Component" in Fusion 360, is it possible to show a message box (for testing only) using the Python programming language?

 

I want to test this for a future idea that I have

 

Many thanks in advance!!!!

 

Darren

0 Likes
463 Views
1 Reply
Reply (1)
Message 2 of 2

marshaltu
Autodesk
Autodesk

Hello,

 

Unfortunately there is no event to be fired when a new component is created. So you cannot know when a new component is created. The alternative solution would be to set a timer and check the number of components in worker thread and pop up messages once new component is added. You can probably make use of custom event to do that.

 

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F9FD4A6D-C59F-4176-9003-CE04F7558CCC

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
0 Likes