AutoCAD Electrical
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
location of location box
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
How to find position of LOCATION BOX in Autocad Electrical Drawing using vb.net?
I want to get position X,Y,Z ?
Solved! Go to Solution.
Re: location of location box
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
To locate and identify what AcadE sees as a Location Box, search for closed Polylines with XDATA named VIA_WD_LOCBOX* on them.
Then, use standard VB.NET functions to get the bounding box of the polyline.
THL
Please select "Accept As Solution" if this post answers your question. Kudos don't hurt either. ;-)
Re: location of location box
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I got the polylines Position..
I want to place one text in the lower left corner of the Location Box using vb.net code.
I have created Text using vb.net..
when i draw location box from bottom[StartPoint] to top[EndPoint], It will place my text correctly in the lower left corner of the Location Box.
If I draw location box from top[StartPoint] to bottom[EndPoint], It will place my text at top of the location box...I used position from Polylines.
if i draw location box from whatever position[from top to bottom or bottom to top],i want to place my text in the lower left corner of the Location Box.
Can we do that?how should i get lower position of location box?
Re: location of location box
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Get the GeometricExtents of the polyline. This returns an Extents3D object that contains the MinPoint.X, Y and Z.
THL
Please select "Accept As Solution" if this post answers your question. Kudos don't hurt either. ;-)
Re: location of location box
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thank You Sir,It works Correctly.
