& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
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
Yes, that's right. I'd like to have in my form a combo box with profile views in the dwg, and for selected profile view I'd like to list pipes or structures, and then when I select one item in that list, I'd like to be able to zoom and draw rectangle around it.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name