1. ## add vertex z or elevation to points

Registered forum members do not see this ad.

Hello to all!

Can anyone help me with this?

I have a layer that has 3dpoints with vertex z being the height of the points.
What i would like to do is insert a text with the height on top of the point. But here is the trick. The heights are either 2 numbers-comma-number (e.g. 23,3) or one number-comma-number (e.g. 3,4). I want the comma of the text to be placed exactly on top of the point. (something like snapping?)

I also could have the heights on a different layer and want the commas snapped on the points. I can't move them from their first position to the point using the comma to snap because one number might have a bigger offset from the point than the other.

Thank you in advance, i know that someone will find the perfect solution!

2. I don't think that you will find the perfect solution for that one with text. You may be able to do it using a block with 2 attributes and the coma being made from geometry at the base insert point of the block. -David

3. Hmm i see....i was thinking maybe a lisp that will snap the second (4,2) character or the third (34,2) -the commas that is- onto the point.

4. 1 thing that you can do is snap to text _ins point. It is basically the calculated justification point ( dxf group 10) of the text ( not mtext ) so if you use middle_bottom to create the text you would probably be close but not exact. -David

5. I think the text justification you need is CENTRE.

The insertion point of the number (2,3) is very close to the comma, but with the number (32,4) you must add a space after the 4, and then the insertion point is again the comma.

I can't get used to the decimal seperator being a comma. What happens with a CSV file full of coordinates? Call me old-fashioned, but I will always use a decimal point.

6. The problem with the insertion point being the centre is that for example 1,8 has a different centre than 8,1 just because 8 is wider than 1.

David i couldn't understand what you mean by "snap to text _ins point". Can you explain it a bit please?

7. You can beat the variable width issue by using a monospace font.

This screen shot is of the move command using the _ins ( insert node ) osnap of the text created with bottom center justification. -David

8. And you get different insertion points with True Type and AutoCAD shx fonts.

Perhaps there is a decimal justification

9. Registered forum members do not see this ad.

Thank you both! Found a solution that will work i hope. I will make 2 layers. One with number,decimal,number and one with 2 numbers before the decimal. I will use a monospace font like courier and then simply move them on top of the points. Then will convert the justification of the labels to centre and change the width of the label a bit to make them sorter so it will "shrink" along the centre of the label. Many many thanks again.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts