Possibility to check "iLogic Security" options via iLogic OR somehow else

Possibility to check "iLogic Security" options via iLogic OR somehow else

ReneRepina
Collaborator Collaborator
596 Views
3 Replies
Message 1 of 4

Possibility to check "iLogic Security" options via iLogic OR somehow else

ReneRepina
Collaborator
Collaborator

Hello.

 

Is it possible to check "iLogic Security" options via iLogic?

Or are those options anywhere written (for example in "Registry" or some local file)?

Or is this "hidden" (on purpose) due to security reasons?

 

 

ReneRepina_0-1690560174835.png

 

 

Best regards,

Rene Repina

 

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

WCrihfield
Mentor
Mentor
Accepted solution

Hi @ReneRepina.  We do have access to some similar settings via an iLogic rule, but they are not directly connected, because the settings within that manual dialog will overrule the settings you can access by code...for further security reasons.  Here are a few of the similar settings that you will see within the iLogic Advanced Configuration dialog:

 

iLogicVb.Automation.FileOptions.AddinDirectory = "C:\Temp\Addins"
Dim ExtRuleDirs As New List(Of String)
ExtRuleDirs.Add("C:\Temp\Rules Dir 1")
ExtRuleDirs.Add("C:\Temp\Rules Dir 2")
ExtRuleDirs.Add("C:\Temp\Rules Dir 3")
iLogicVb.Automation.FileOptions.ExternalRuleDirectories = ExtRuleDirs.ToArray
iLogicVb.Automation.ExcelEngine = ExcelEngine.COM
iLogicVb.Automation.RulesEnabled = True
iLogicVb.Automation.RulesOnEventsEnabled = True
Dim oLogControl As LogControl = iLogicVb.Automation.LogControl
oLogControl.Level = LogLevel.Trace
oLogControl.RuleEntryExitMessageLevel = LogLevel.None

 

There are others too.

Edit:  Here is a link to a related post back in 2019, in which an Autodesk employee helped answer.

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/is-it-possible-to-change-ilogic-secu... 

Edit:  And here is another similar link which mentions another hidden setting:

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/ilogic-triggers-all-off-batch-publis... 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

WCrihfield
Mentor
Mentor
Accepted solution

Here is another interesting related post, where the same Autodesk employee got involved again, and explained the difference between the settings in the dialog, and the settings we have access to through an iLogic rule.  There have been several similar/related questions like this asked before, so there may be others too. 😉

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/vba-code-to-disable-event-triggers/m... 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 4 of 4

ReneRepina
Collaborator
Collaborator

Hello @WCrihfield .

 

Sorry for the late reply.

 

I have checked your suggestion and the links.

So basically, we can switch the rules ON/OFF via iLogic (if dialog has events enabled), but we will not get any "visual" update in dialog about changed options, due to security reasons.

This can be tricky for users, since they will see, it is "enabled", but behind it is "disabled". Not the right thing we are looking for, but I know, it is a limitation due to security reasons.

 

Thank you for your help though!

0 Likes