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: 

Delete iLogic rule using VBA

22 REPLIES 22
Reply
Message 1 of 23
cidhelp
5119 Views, 22 Replies

Delete iLogic rule using VBA

Hallo,

 

i have an iLogic rule in serveral files. Now this rule has to be deleted. This should be done with VBA. I can not find any function to delete a rule using VBA.

 

I found a function iLogicAuto.RunRuleDirect(rule), but not iLogicAuto.DeleteRule(rule) ...

 

 

I can not find any documentation for iLogic/VBA.

 

Please help me.

22 REPLIES 22
Message 21 of 23
BrentDouglas
in reply to: twinz3950

I don't have inventor 2014 so I can't guarantee I can help but can you
post the output from when you run it?

Brent
Message 22 of 23
twinz3950
in reply to: BrentDouglas

thank you for your response but I think I may have solved the problem. I will try it in the moringing to see if it works.

Message 23 of 23
DeerSpotter
in reply to: twinz3950

I can confirm Code Injector 2011-2013 deletes all rules. 

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile

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

Post to forums  

Autodesk Design & Make Report