cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Get position of the BOM balloons

ysinitsin
12-Amethyst

Get position of the BOM balloons

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??


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

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.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags