Message 1 of 1
Help - BroswerPane.refresh()

Not applicable
10-03-2016
01:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently my add-in does an edit on the title block and the Inventor updates the document. This works great but some funny business happens in the browser pane.
During the title block edit, the Drawing Resources node get expanded (which I'd prefer it doesn't). To rectify this, after my sub-routine run, I get it to collapse the Drawing Resources node, which it does, but it won't refresh the browser and leave "artifacts" in the browser.
If I try using:
m_Pane = invDoc.BrowserPanes("Model") dr_Node = m_Pane.TopNode.BrowserNodes.Item("Drawing Resources") m_Pane.refresh()
I get an error.
If I use:
m_Pane.update()
nothing happens.
It seems like refresh is what I'm looking for, I'm not really sure why it's giving me an error.