AddTreeBrowserPane Problem

AddTreeBrowserPane Problem

KKizildemir
Collaborator Collaborator
553 Views
2 Replies
Message 1 of 3

AddTreeBrowserPane Problem

KKizildemir
Collaborator
Collaborator

Hi all,

 

When I use 'AddTreeBrowserPane' method to add a new pane, it comes under the 'Model' browser pane rather than as a seperate pane. On the other and, when I check the custom browser pane from the locals window, It seems it's added as a browser pane which is fine. So how can I add a 'Tree Browser Pane' as a seperate pane, just like Favorites or Representation panes?
Capture.JPG

Signature

website
emailskypelinkedinyoutubeemail
0 Likes
554 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor

Here's something you might find interesting, and may relate your what you're trying to do.  A while back, when I was looking for the iLogic browser pane, it wasn't there.  So then out of curiosity, I searched the DockableWindows, and there it was.  Sure looked like a Browser Pane, but nope, it was a DockableWindow.  So I attempted to dig deeper into it and hit a road block.  It's Control is Nothing, so it must contain a 'Dialog' instead.  Assuming this dialog was a Windows Form, I attempted to retrieve it, but since I wasn't familiar with that process, I wasn't successful.

Point being, maybe adding a DockableWindow, then adding something within that, may be closer to what you're expecting.

Here's the (iLogic) code to get the iLogic tab/dockable window.

 

Dim oDoc As Document = ThisApplication.ActiveDocument
Dim oUIMgr As UserInterfaceManager = ThisApplication.UserInterfaceManager
Dim oILogicW As DockableWindow = oUIMgr.DockableWindows.Item("ilogic.treeeditor")

 

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

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

KKizildemir
Collaborator
Collaborator

Thanks @WCrihfield , I used dockable window object under UIManager before. I've found a solution which is not straight forward but is working OK. We're adding an empty browser pane and putting the tree view control on it.

 

Still working on it and will let you know if it's successful.

Signature

website
emailskypelinkedinyoutubeemail
0 Likes