Hi
I'm trying to simplify my life by using recursion with `iLogicVb.Automation.RunExternalRule()`, where the external rule calls itself with a different context document argument.
From what I can tell, this isn't possible. I don't get any errors or crashes. It just runs through one level and ends.
Is it not possible to call rules recursively?
Thanks
Good question. I don't think I have ever tried a 'true' recursive external rule which runs itself again at certain points, in a traditional sense. However, it does not make sense to me that it would work, because the rule would already be running in Inventor's memory, while it is being called to run again. I have certainly used recursive Sub routines before many times, and have use tricks like 'GoTo RunAgain' at the end of a process, if certain conditions are right, though.
What sort of process are you trying to automate this way?
Wesley Crihfield
(Not an Autodesk Employee)
Can't find what you're looking for? Ask the community or share your knowledge.