- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @d_stapleton. I am not experienced in add-in creation or external exe creation, but I have been pushing the limits of iLogic for years, and have fully created all code required for Windows Forms within some of my iLogic rules (typed in directly, from scratch) and showed them, and handled several of their events, all within a single iLogic rule before. And sometimes I have referenced an external iLogic rule set to 'Straight VB Code' where the Form's code is contained in a Class, and called it from another, regular rule. This is definitely possible, so don't give up hope. But I am not familiar with your files/code, so I am not sure how to advise you about how to 'call' it from a rule. I usually have to create new 'instance' of my custom Class, using the 'New' keyword, within my rule, then I can use that instance (stored to a local varable in my rule) to Show/Call the form to show. Since you mentioned this being an add-in, I was a little surprised to see you trying to run an EXE in the rule, instead of trying to call a 'method' to run. Is your code really designed as an external exe, instead of an add-in?
By the way, I can not download or use a ZIP file from a forum, due to corporate security policies, so attaching your files will not help me to help you, but it might help others. If you do though, make sure they do not contain anything 'personal/proprietary/confidential'.
Wesley Crihfield
(Not an Autodesk Employee)