- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
(Not an Autodesk Employee)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Thank you Autodesk for some love!