- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
There are some QR code generating class libraries out there, which returns an PNG image. Or, if your own code is vb.net, it should be possible to use it in iLogic.
Don't use it in this purpose. The componentoccurrences collection does not "know" anything about BOM quantity overrides. You can use it to traverse the assembly structure, but (in my opinion) you can not count the occurrences and expect the same result as shown in BOM. Let's make a simple example. Assuming an assembly with 3 occurrences of part "A". Part "A" has BOM structure "Phantom". Your code returns a count of 3 and the BOM says "there is no such part".
If you use your way, you need respect the BOM structure of the document. And you'll have to find a way read the BOM qty. override or deceide that BOM qty. overrides aer forbidden.
I depends on which BOM you are. In the mode BOM view, you'll see phantoms too. In the structured and parts only view you'll see the result of all BOM influencing options (BOM structure, Qty. override, base unit and so on). The phantom component is removed in this views.
As the BOM view only consist of BOM rows for components, it's much easier to traverse then the browser pane.
R. Krieg
RKW Solutions
www.rkw-solutions.com