Path of external iLogic rule

Path of external iLogic rule

pavol_krasnansky
Enthusiast Enthusiast
1,213 Views
2 Replies
Message 1 of 3

Path of external iLogic rule

pavol_krasnansky
Enthusiast
Enthusiast

Hello

How do I get path of external iLogic rule? I want to use this path in external rule. I search something similar like "ThisDoc.Path" for Inventor dokument.

Thank you

0 Likes
Accepted solutions (1)
1,214 Views
2 Replies
Replies (2)
Message 2 of 3

Darkforce_the_ilogic_guy
Advisor
Advisor

what info are you looking for ? what do you need it for ?

0 Likes
Message 3 of 3

JelteDeJong
Mentor
Mentor
Accepted solution

here some code to get the directories with the external rules. maby it helps.

Dim iLogicAddinId As String = "{3BDD8D79-2179-4B11-8A5A-257B1C0263AC}"
Dim iLogicAddIn As Inventor.ApplicationAddIn = ThisApplication.ApplicationAddIns.ItemById(iLogicAddinId)
Dim iLogicAuto As Object = iLogicAddIn.Automation
Dim i As Integer = 1
If (iLogicAuto IsNot Nothing) Then
    For Each directory In iLogicAuto.FileOptions.ExternalRuleDirectories
		MsgBox(directory)
    Next
End If

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes