Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating relationship beetween nodes in custom browser pane and occurrences

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
288 Views, 0 Replies

Creating relationship beetween nodes in custom browser pane and occurrences

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?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report