It is possible to run iLogic rules from an external application. However, there is absolutely no documentation for this available anywhere. I would like to see some kind of documentation that shows what methods, properties, etc that we can call/access from the iLogicAddin.Automation object for the iLogic plugin.
Even better yet would be a full library that allows us to interface with iLogic without using late binding calls.
ApplicationAddIn iLogicAddin;
try
{
iLogicAddin = thisApplication.ApplicationAddIns.ItemById[iLogicAddinGUID];
}
catch
{
PublicFunctions.MsgBoxAsync("Failed to activate iLogic addin!", System.Reflection.MethodBase.GetCurrentMethod()?.Name);
return;
}
dynamic iLogicAutomation = iLogicAddin.Automation;
try
{
iLogicAutomation.RunRule(thisDoc, ruleName);
}
catch
{
//do nothing
}