ILOGIC VBA code to find missing balloons without parts list

ILOGIC VBA code to find missing balloons without parts list

Udo_Huebner
Mentor Mentor
407 Views
1 Reply
Message 1 of 2

ILOGIC VBA code to find missing balloons without parts list

Udo_Huebner
Mentor
Mentor

I also want to find missing balloons - and the existing code from here works fine.

https://forums.autodesk.com/t5/inventor-customization/using-ilogic-to-look-for-missing-balloons/m-p/...

But we don't place a parts list on the drawing (we use Vault Professional to get the BOM of items later), so I need to match the balloons to the BOM of the assembly. Any useful tips on how to archive this? And yes, it should work mainly with exploded views from ipn.

Gruß Udo Hübner (CAD-Huebner)
0 Likes
408 Views
1 Reply
Reply (1)
Message 2 of 2

_dscholtes_
Advocate
Advocate

I never used the API in *.idn files, but this is my first thought:
1. Create a collection of all occurrences in the assembly;
2. Process all balloons, retrieve to which occurrence they are connected and remove them from the collection.
3. The left-overs in the collection are the ones you want.

This blogpost tells you how to get to the connected occurrence of a balloon:

https://adndevblog.typepad.com/manufacturing/2012/06/use-the-api-to-find-a-component-occurrence-from... 

0 Likes