- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2017 11:46 AM
Hi,
How do you trigger a macro when a diagram is saved/dispatched?
i.e. we would like to save the diagram as a png when it changes.
I can't seem to find any documentation on this.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2017 01:12 PM
Thanks. Found the documentation.
Search for 'OnSaveDrawing' in here:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎20-02-2017 12:30 PM
you need to create a diagram plugin with a sub
Sub OnSaveDrawing( oDrawing As MegaDrawing )
End Sub
it's all described in the pdf Diagram API tutorial. The script will fire when the diagram is saved by the user.
