Hi.
I have created my custom browser pane with a tree structure. Nodes in this tree are based upon occurrences in an assembly file - when a certain component is placed within assembly my code adds new node to my browser pane and also adds some subnodes as childs to previously created node, again based upon suboccurrences of inserted component. I don't have problems with creating nodes depended of structure of my assembly, I am just wondering which way will be the best to connect objects (occurrences) to my nodes. And this connection have to be maintained beetween sessions of Inventor.
I figured out a solution which uses Reference Keys in combitation with Attributes to store a relationship data beetween nodes and occurrences but my solution is pretty complicated and I am looking for something easier and smarter. I am also not sure how assembly file will react if there will be many occurrences and how will it impact on efficiency (there will be also many attributes in this situation).
Do you have any sample code or other example how such a relationship can be programmed in API?