I want to read information inside the BOM Balloon. After few trials on Pro/E UI, I figured out that the balloons are DetailSymbolInstance type of entities. I'm trying to query the type of entities, but it does not work at all.
To query those, I called ListItems(ITEM_DTL_SYM_INSTANCE) and ListDetailItems(DETAIL_SYM_INSTANCE) on the drawing. Both methods return incorrect output. To cross-check, I select the balloon interactively and queried it's type. This type is passed to ListItems and ListDetailItems. Even then I get erronous output.
As a workaround, I called ListDetailItems with null argument, so that it returns all detail entities and checked each one's type. On this, I get only one entity of type DETAIL_SYM_INSTANCE, when there are ~10 balloons in my drawing.
Now I do not know how to access this information. Whether I'm calling the right method on right object? Is there any alternate method to do this? Has it been concluded to be known issue with ProE?
I can not say for sure...but they should be different because path to reach the dependent and independent should be different...may be the final return type is same....try exploring BOM table option in JLink and see if they have something about the balloons.
Your explanation is very correct. But the problem is also with table API. It does not give any direct API in Table. In fact in table I'm not able to check if a cell is in repeat region (There is workaround of querying component, but it is not a good solution).
Is there any common interface, from where I can check if a cell is part of repeat region and if yes, what is attached balloon instance?
I am not sure what information you wish to pull out... still....did you try retriving Symbol and then using pfcDetail.ParametricAttachment.GetAttachedGeometry...