Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dependent Rules - iLogic

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
sam
Advocate
415 Views, 2 Replies

Dependent Rules - iLogic

Hi Guys, 

I need help with a scenario. I have total of 6 rules and I want those to be run in specific order. 

1. Is their a way to define a rule that control all other rules in a specific order?

2. If one is not possible, is there a way to add reference rule no 2 in rule no 1, reference of rule number three in rule no 2 and so on (so that they run in required order.)

Best regards, 

Sam

2 REPLIES 2
Message 2 of 3
JhoelForshav
in reply to: sam

Hi @sam 

You can create a rule that runs the other rules and build it something like this:

 

Sub Main()
	iLogicVb.RunRule("Name of rule 1")
	iLogicVb.RunRule("Name of rule 2")
	iLogicVb.RunRule("Name of rule 3")
	'And so on...
End Sub

 

Message 3 of 3
sam
Advocate
in reply to: JhoelForshav

Thanks @JhoelForshav 

 

Really appreciate your help. 

 

regards, 

sam

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report