- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
counting assembly occurrences
Hi
What is the fastest, easiest, most simple way of counting individual occurrences? Lets say i have 50 components in my assembly-
10 x Wood Screw
10 x MDF Panel
10 x Plywood Back
10 x Top Panel
10 x Base Panel
instead of looping through to get 100 messageboxes each showing the same object 10 times
(wood Screw:1, Wood Screw:2 etc),
i need to get 5 message boxes showing the description & quantity
(Wood Screw x 10)
is there a way of counting occurrences in an assembly and just looping through them for a count?
Thanks
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm just thinking loud.
Isn't that Bom what you just said ? Do you really need msg box to tell you what you have in bom? Give more info to better understand what intension you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was using the msgbox purely for example to demonstrate 5 returns for a component definition instead of 20
I'll give a different description when I get home if it helps.
Cheers
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I faced the same problem some weeks ago, I found answers in these links:
http://modthemachine.typepad.com/my_weblog/2009/03/accessing-assembly-components.html
Usually Instead of having a messagebox I use .txt writer saving in spacific folder.
Bye