AutoCAD Map 3D General

Active Contributor
Posts: 39
Registered: ‎12-05-2003
Message 1 of 3 (88 Views)

Way to locate Annotation where feature's selected?

88 Views, 2 Replies
03-28-2013 03:13 PM

I'm creating Annotation for pipe diameter on a water main atlas.  I have spans of pipe that are 50-200 feet in length. I often don't want the Annotation for pipe size to be placed at the midpoint of the line segment.  I'd prefer it to be placed at the location where I 'select' on the feature. It seems like .LAGELPT, .CENTER, AND .CENTROID all place Anno at the midpoint of the line.  X1,Y1 places Anno at the start of the line.  X2,Y2 places Anno at the end of the line.


Is there an Expression String or Property I couldspecify, that would place the Annotation at the point where the feature was selected on-screen?





*Expert Elite*
Posts: 1,920
Registered: ‎11-13-2006
Message 2 of 3 (87 Views)

Re: Way to locate Annotation where feature's selected?

03-28-2013 03:17 PM in reply to: DaveMartin4189

Off hand I don't know of any expression but you can create a lisp that takes the x1.y1 and add an inter to them after you get the angle of the lines. You can move the annoblocks after you insert then as long as you are selecting each line to label. Just a pick and drag after you insert them.

Supportting the troops daily.
*Expert Elite*
Posts: 1,837
Registered: ‎12-15-2006
Message 3 of 3 (75 Views)

Re: Way to locate Annotation where feature's selected?

03-29-2013 01:18 AM in reply to: Murph


Hello from France


Maybe I don't understand very well your problem ...


For me, the main problem with the "good old" Annotation of AutoCAD MAP 20xx,

is that we can't control easily where MAP will annotate entities,

especially along "long" Plines which represents : pipes, networks, limits, etc


So 2 solutions :



With the "very old" command "ADETEXTLOC", you control exactly the Label Point, but if you have 1000 pipes,

you have to do 1000 x ADETEXTLOC and then Save the DWG and then Use Annotations at the Label Point ...


But when you create a New Pipe/Pline, you could execute immediately after

an ADETEXTLOC to prepare the job ...


*** Lisp Routine ***

With a Lisp Routine, you could create automatically N Label Points on N Plines (in fact, it's an ADETEXTLOC)

So please appreciate the joined Routine "ANNOAUCENTRE" (from ALALA - A nice French Guy)


"ANNOAUCENTRE" will place automatically an ADETEXTLOC at the middle of the object and ON the object ...


"ANNOAUCENTRE" works on Plines, Arcs, Lines, Splines ...


Bye, Pat


Bye, Pat

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community