Manage active iLogic tab

Manage active iLogic tab

llorden4
Collaborator Collaborator
560 Views
3 Replies
Message 1 of 4

Manage active iLogic tab

llorden4
Collaborator
Collaborator

I'm trying to locate the coding requirements to manage the current active tab on the iLogic toolbar.  Whenever I use a Named Geometry feature in my iLogic/API code, the Geometry tab automatically becomes active.   Quite annoying while I'm trying to code and I have to keep remembering to switch back to the Rules tab.   I'd like to set it to return to the Rules tab (even if just during my development) but can't seem to run down the coding on this one.

 

Anybody got this figured?

 

llorden4_0-1630340303213.png

 

Autodesk Inventor Certified Professional
0 Likes
Accepted solutions (1)
561 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

That's a tough one, but I do know that the main iLogic tab is a DockableWindow, instead of a BrowserPane.  You might have to know some advanced vb.net to access deeper into it.

Here's a little bit of iLogic to access it:

 

Dim oTitle As String = "iLogic"
Dim oIntName As String = "ilogic.treeeditor"
Dim oClientID As String = "{3bdd8d79-2179-4b11-8a5a-257b1c0263ac}"
For Each oDW As Inventor.DockableWindow In ThisApplication.UserInterfaceManager.DockableWindows
	If oDW.InternalName = oIntName Then
		If Not oDW.Visible Then oDW.Visible = True
	End If
Next

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.

If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡or you can Explore My CONTRIBUTIONS

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 3 of 4

llorden4
Collaborator
Collaborator

Thanks for the teaser, it is a bugger.   I can dig down to the title tab "iLogic" but can't seem to get beyond that with my current skillset.

 

Looks like I'll have to wait for a miracle that the this forced tab change will stop magically in the future or someone smarter to come along and accept this challenge.

 

MsgBox(ThisApplication.UserInterfaceManager.DockableWindows.Item("ilogic.treeeditor").Title)
Autodesk Inventor Certified Professional
0 Likes
Message 4 of 4

llorden4
Collaborator
Collaborator
Accepted solution
The Inventor 2022.2 service pack fixes this annoyance!

Thank you Autodesk for some love!
Autodesk Inventor Certified Professional
0 Likes