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: 

Reg : Link VBA with iLogic, Run iLogic rule if the Rule exists in component

0 REPLIES 0
Reply
Message 1 of 1
naresh_kalyan
363 Views, 0 Replies

Reg : Link VBA with iLogic, Run iLogic rule if the Rule exists in component

Greetings... Happy New Year 2015.

 

Hi One & All,

I'm facing a problem with iLogic. I have bunch of Parts in which few Parts contains iLogic rules and few does not contain any rules.

I could able to trigger the Rules through VBA, using iLogicAuto.runrule oPrtDoc, RuleName

But, this is failing as some of Parts does not contain any Rules.

 

All I need to put a condition to check, whether the Part contain iLogicRules > If yes then Run the Rule. For Example...

 

If iLogicAuto.RuleExists ("RuleName") then  'Only for Example, this is not a code

iLogicAuto.runrule oPrtDoc, RuleName

end if

 

Regards

NKalyan

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report