How do I display annotative text for points values, (x,y,z)

How do I display annotative text for points values, (x,y,z)

Anonymous
Not applicable
5,134 Views
11 Replies
Message 1 of 12

How do I display annotative text for points values, (x,y,z)

Anonymous
Not applicable

 

Hi,

How do I display text for points values, (x,y,z) along a kerb-line or road (e.g)?, I have over 1000 points and I need the coordinates displaying on a print out. So far I've been clicking properties, then copy and paste them as text but it's very laborious and time consuming. Also, if I can make the text annotative so if I move a point(s), the text displayed will also adjust to the new coordinates and elevation.  Many thanks in advance,

Bruceybee

0 Likes
Accepted solutions (2)
5,135 Views
11 Replies
Replies (11)
Message 2 of 12

Kent1Cooper
Consultant
Consultant

If the property is in the form of a coordinates list as points are typically stored, you can do this:

(setq CStringList (mapcar 'rtos '(1.234 5.678 9.012)))
("1.2340" "5.6780" "9.0120")

 

Then that list can be turned into a typical comma-delimited string that you can use in Text:

(strcat (car CStringList) "," (cadr CStringList) "," (caddr CStringList))

"1.2340,5.6780,9.0120"

Kent Cooper, AIA
0 Likes
Message 3 of 12

Anonymous
Not applicable

 

Hi Kent,

Thanks very much for your prompt reply. I forgot to add that I am a field engineer and by no means a cad expert, more of a beginner, my cad skills are limited to drawing lines, shapes, points, copy/paste etc. I did try looking through the help section first but it just told me what each function does, and not exactly how to do it. So if you could please talk me through each procedure it would be much appreciated, if that's ok. Preferably things I copy and paste into command bar. Thanks again

Bruceybee

 

0 Likes
Message 4 of 12

Patchy
Mentor
Mentor
Accepted solution

Make a dynamic block and replace the points you have in your drawing.

See this video :  https://www.youtube.com/watch?v=2XYHW_DzIOc

and Google Search, you will get your answer.

 

Capture.JPG

 

Message 5 of 12

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... talk me through each procedure …. 


 

More information would be needed.  How do you get to where you copy coordinates out to paste them in somewhere else?  In what form do you copy/paste them?  Separately in PositionX/PositionY/PositionZ slots in the Properties palette?  Or in some combined XYZ-coordinates form in one piece?  What are the "points"?  POINT entities ?  Civil3D overlay-program surveyor points of some kind [I don't know what the possibilities are, nor what they're called]?  Blocks?  Something else?

 

For the "annotative" part, I suspect you're going to want to use Fields, which are an area in which I am not very well-versed, but would be willing to experiment, if others who know better don't chime in.

Kent Cooper, AIA
0 Likes
Message 6 of 12

Anonymous
Not applicable

Hi Kent, I usually just pick what I need from a master site drawing, click an object(s), point, line, rectangle, circle, arc, etc, then control and c, then open a '0' layer drawing, paste to original coordinates;  I've attached the kerb-line drawing to this reply for you to see, the points on the kerb lines and corners are the ones I want to label x,y,z . I have already done a trial one with 4 points, using the you tube video, pointed out by Patchy (AD Mentor) I get the first one done OK, but when I select 'block' attach, or copy the block to do the rest, it just displays, 'x, y, = ##################', Any idea with that? Thanks,

Bruceybee

0 Likes
Message 7 of 12

Anonymous
Not applicable

Hi Patchy,

I have done a trial one with 4 points, using the you tube video you pointed out, I get the first one done OK, but when I select 'block' attach, or copy the block to do the rest, it just displays, 'x, y, = ##################', Any idea with that? Thanks,

Bruceybee

0 Likes
Message 8 of 12

Patchy
Mentor
Mentor

It should work if you have point nodes.

The screenshot shows the block created at 0,0,0  and when copy to the Red Nodes, and hit regen, they will update their coordinates.

Capture.JPG

 

0 Likes
Message 9 of 12

Patchy
Mentor
Mentor

Because you did not use Z, the video was only showed X and Y.

0 Likes
Message 10 of 12

Patchy
Mentor
Mentor
Accepted solution

Like this:

Capture.JPG

Message 11 of 12

Anonymous
Not applicable

Thanks Patchy, 

I tried it again from scratch, followed the video to the letter and this time it came up with the correct coordinates and no ###'s. Thanks very much for the solution.

Bruceybee   :?)

0 Likes
Message 12 of 12

Anonymous
Not applicable

Hi Kent,

Thanks very much for your suggestions, I've managed to complete it successfully as per the You tube video which Patchy (AD mentor) advised. Thanks again,

Bruceybee

0 Likes