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: 

Browsernode to listview

2 REPLIES 2
Reply
Message 1 of 3
NachitoMax
196 Views, 2 Replies

Browsernode to listview

Hi,

Can someone help me please? On a form I have a listview (lstParts). Currently, I can iterate through the browsernode and populate the listview with the browser items of an assembly file but I need it to be different.

I need the listview to show the parts and assemblies in the assembly file. My code only shows part files. I have icons and I know I will need an imageview for the listview. I need the listview to show a part icon if it is a part and an assembly icon if it is an assembly. Also, if it is an assembly, have it like a tree view where the parts to the assembly are indented.

Does that make any sense lol?



Thanks

Nacho

Automation & Design Engineer

Inventor Programmer (C#, VB.Net / iLogic)


EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: NachitoMax

Can you post your code?

Message 3 of 3
NachitoMax
in reply to: Anonymous

Hi

I figured it out. There was an If condition that made sure only parts were placed in my list. Now I get everything from the node that are parts, assemblies and sub parts along with only showing components that are inside the project.

Thanks

Nigel

Nacho

Automation & Design Engineer

Inventor Programmer (C#, VB.Net / iLogic)


EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


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

Post to forums  

Autodesk Design & Make Report