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.

Blog: hjalte.nl - github.com