Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello,everyone!
I have the main task: get the position of the BOM balloon.I know that we don't have direct API for the BOM balloon. But we can get an collection of the notes, using ProDrawingDtlnotesCollect(), and the balloons are includ in this collection.
So, now need to find the way to resolve the subtask: how to filter the BOM balloons from all notes?
Any ideas??
Looks like I found the solution. I'm using user-defined symbol for BOM balloons. In this case I can collect all symbols ProDrawingDtlsyminstsCollect. Then I can filter the BOM symbols by name of the master symbol. For example,
err = ProDtlsymdefdataNameGet(data, name);
err = ProWstringCompare(name, L"POS", PRO_VALUE_UNUSED, &result);
If the name == "POS" then current symbol is a BOM balloon.