- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Wayne,
That's great, thank you!
(I will reply to your engineering ticket email later today!)
In the meantime, I can have my addin import the Excel data, create the necessary sketches and sketchpoints and the Wrap to Surface tool runs correctly.
My conundrum now is how to immediately resume my add-in function once that completes; I guess I could have an event set up for either OnActivateCommand or OnTerminateCommand.
The problem there is that if I check for either in relation to the "Sketch3DProjectCmd" it could cause my addin to run if/when the user runs that tool manually.
Is there a way of allowing my addin to duck in/duck out of process* in the same way a modal window locks focus whilst it is open?
NinjEdit: I was able to answer my own question by using the ControlDefinition.Execute2(true) method.
Also, I notice that despite having the Event Watcher running when I clicked on my Ribbon button, it doesn't register it as an OnActivateCommand event - should it?
Thanks,
Alex.
Alex Fielder
Inventor Expert
https://github.com/alexfielder/
LinkedIn - Github Inventor Extension Server - Bonkers polygon iLogic thing
Top ten iLogic Tips - API Shortcut In Google Chrome - Assembly Extrusion Example