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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Get position of the BOM balloons

ysinitsin
1-Newbie

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.

Top Tags