Help - BroswerPane.refresh()

Help - BroswerPane.refresh()

Anonymous
Not applicable
301 Views
0 Replies
Message 1 of 1

Help - BroswerPane.refresh()

Anonymous
Not applicable

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.

 

0 Likes
302 Views
0 Replies
Replies (0)