So I have a need to find a coordinates of the ProfileViewPart, or a bounding box.
I have a dialog, which has a list of structures or pipes, and when I select a profile part in the dialog, I have a code that zooms and draws a temporary rectangle around the structure, or pipe in a profile view.
So far it works well, I get ProfileViewParts, and I open them and use ProfilePartBounds property that returns Extents3d, and I use it to draw a rectangle, to mark the position.
Good case:

The problem is when a ProfileViewPart is placed in more than one ProfileView, im my example 3 of them ( Structure - (954) ). Then I have bounds like this:
Bad case:

Even when you select that structure with AutoCAD selection, it gets highlighted in all profiles (blue up and down arrows in my picture).
So my question is: is there a way to get specific ProfileViewPart that is part of only one profile view, or something like that?
I attached a dwg, called NV17.dwg, where you can see the mentioned situation.
Thank you
---------------------
Damir Vidakovic
www.studioars.com