Failing to import external rules

Failing to import external rules

ysbaodnj
Enthusiast Enthusiast
567 Views
1 Reply
Message 1 of 2

Failing to import external rules

ysbaodnj
Enthusiast
Enthusiast

A problem in which external rules cannot be imported from models saved in other paths.
The path where the external rule is saved is the same.
Model A and Model B are on different paths
By executing the external rule in model A, model A is closed and model B is opened and the external rule needs to be executed, but it cannot be imported.
How can I solve this?

0 Likes
568 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

Hi @ysbaodnj.  I'm not sure I understand what you need.  External iLogic rules do not reside within Inventor model files. They are simple text files, which depending on your settings, may have a ".txt", ".vb", or ".iLogicVb" file extension.  The iLogic rules which reside within Inventor documents are called 'local' or 'internal' iLogic rules, not external iLogic rules.  If you are really working with external iLogic rules, then you may need to check (or set-up) your settings within the 'Advanced iLogic Configuration' dialog.  This can be found on the Tools tab > Options panel (may need to be expanded) > and click on the tool there named "iLogic Configuration", which brings up the dialog.  Within the top portion of that dialog is where you specify where you plan on storing all of your external iLogic rule files.  This is where Inventor will first search for them whenever you attempt to run one.  If your external rule is not in a location that you have specified here, then you will always have to provide the full file path to that rule every time you want to run it.  If it is stored in a location you specify here, you will only need to specify its name, without path, and without file extension.  However, make sure that all of your external rules have the same file extension as the settings in this dialog are set to.  You can change the file extension setting if you want to, which will change which file extension is created by default on all new external iLogic rules you create, but it will not go back and change the extensions of any rules that may already exist.

WCrihfield_0-1666699041760.png

WCrihfield_1-1666699147924.png

 

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes