Document iRule to change external iRule Directory

Document iRule to change external iRule Directory

Anonymous
Not applicable
705 Views
3 Replies
Message 1 of 4

Document iRule to change external iRule Directory

Anonymous
Not applicable

Short story shorter, I have a setup template for many users at my office. It does all sorts of things, except the last thing I need it to do. I need a iLogic file tied to the document, where on open, it sets the External ilogic path to our networked location. This will be on open, for new users. If I can do this some other way, tied to this document, that will work too. This only has to be done once for each new user, or new installation. Setting the path manually for 60+ employees is kind of a pain.

0 Likes
Accepted solutions (1)
706 Views
3 Replies
Replies (3)
Message 2 of 4

Curtis_Waguespack
Consultant
Consultant

Hi @Anonymous 

 

If I understand correctly, you are wanting to set the iLogic Configuration path with a rule?

 

here are a couple examples.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

'set one folder

Dim sList(0) As String
sList(0) = "C:\TEMP\Test\"

On Error Resume Next
iLogicVb.Automation.FileOptions.ExternalRuleDirectories = sList

sets multiple folders

Dim sList(2) As String
sList(0) = "C:\TEMP\Test\"
sList(1) = "C:\TEMP\Test\Part Rules\"
sList(2) = "C:\TEMP\Test\Drawing Rules\"

On Error Resume Next
iLogicVb.Automation.FileOptions.ExternalRuleDirectories = sList

 

 

 

 

 

EESignature

0 Likes
Message 3 of 4

Curtis_Waguespack
Consultant
Consultant
Accepted solution

@Anonymous wrote:

...Setting the path manually for 60+ employees is kind of a pain.


I should point out though that in more recent versions of Inventor, you can add this path(s) to the deployment image for new installs... I don't know when they added this, but it's probably something to look into as well

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes
Message 4 of 4

Anonymous
Not applicable

Yes, this is exactly what I was looking for. Thank you

0 Likes