Import/Export iLogic Rules and Forms

Import/Export iLogic Rules and Forms

Anonymous
Not applicable
4,295 Views
4 Replies
Message 1 of 5

Import/Export iLogic Rules and Forms

Anonymous
Not applicable

According to this page, it is not possible to import/export iLogic rules and forms into an existing component. Has this been remedied yet?

0 Likes
Accepted solutions (1)
4,296 Views
4 Replies
Replies (4)
Message 2 of 5

mcgyvr
Consultant
Consultant

You can copy and paste when editing the rule and copying all of the rules test but not the rule itself



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 3 of 5

Sergio.D.Suárez
Mentor
Mentor

The programming language usually always improves with time, new functions are always added to the rules. If the rules have tendencies to be reused, the best way to achieve this is to use them as external rules, otherwise there would be the risk of having duplicate and outdated rules in the files, and updating them would be complicated. If a rule is specific to a particular file, it can not be reused, because it refers to this single file, and it would have to be modified to adapt it to another file.
As a recommendation I would tell you to get used to the use of external rules, avoiding copy and paste rules in multiple files. regards


Please accept as solution and give likes if applicable.

I am attaching my Upwork profile for specific queries.

Sergio Daniel Suarez
Mechanical Designer

| Upwork Profile | LinkedIn

0 Likes
Message 4 of 5

jtylerbc
Mentor
Mentor
Accepted solution

Look into the iLogic Code Injector.  It's a few years old, but it's still working fine for me.

Message 5 of 5

Anonymous
Not applicable

The Code Injector would do exactly what I need, if I wanted to apply a bunch of rules to a batch of files. Thankfully I only need to copy to one file. 

 

It seems archaic to think that in 2019 there is no way to export code without mechanically copy/paste.

0 Likes