Strange behaviour - BrowserPane.GetBrowserNodeFromObject
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I am using the BrowserPane.GetBrowserNodeFromObject Inventor API (Inventor 2020.4) to read the Browser Nodes/Tree Nodes from the Inventor Browser Pane. I am using this API to read the node path all the way from the tree root node (i.e AAA/BBBB/CCCC/...). This path is then used to determine if there are any Parts inside specific Browser Folders (Like Standards, Reference, etc) that I should ignore while collecting all the Parts in the Assembly. I have to do this round-about way since Inventor does not have any direct API that provides the Browser Folder Name which is Parent to the Part. Strangely this API is failing the first time and working without any code changes every subsequent time.
Has anyone faced a similar issue?
Thanks,
Amitabh