Fusion API - Show Message Box When Document (Assembly, Part or Drawing) Is Opened

Fusion API - Show Message Box When Document (Assembly, Part or Drawing) Is Opened

isocam
Collaborator Collaborator
154 Views
1 Reply
Message 1 of 2

Fusion API - Show Message Box When Document (Assembly, Part or Drawing) Is Opened

isocam
Collaborator
Collaborator

Can anybody help?

 

Does anybody know how, using a Fusion Python script, show a message box whenever a Fusion document (Assembly, Part or Drawing) is opened?

 

I just need this code for testing.

 

Many thanks in advance!

 

Kindest Regards

 

Darren

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

boopathi.sivakumar
Autodesk
Autodesk

Hi @isocam 

You can use the eventHandlers to do this I suppose if you are creating an add-in then you can hook on to application.documentOpened event then you can handle the logic inside the notify function of the class you are hooked into it.
here is the documentation
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-270c87f0-04d7-4bd8-9632-0e025d68df39

 


Boopathi Sivakumar
Senior Technology Consultant

0 Likes