Labeling Point Heights

Hello,

My question is similar to the one I asked here: Text taking height value from the point - #2 by wim

but slightly different.

I have a lot of points and I would like to create a labels for them with their height.

If I go to Analyze–> Point, the label is created but with X,Y and Z coordinates while I need only Z
If I create a text and then use “TextField”, I can create a label with only Z value, but doing it for all points manually takes ages.

Question 1
Is it possible to:
Limit the “Analyze–> Point” to take only Z coordinates or edit them all at once? I tried the second option that but the Z value from the selected point is copied to all other:
1.


3.

Question 2
Is it possible to simply copy the Text with Text field and change the object it refers to? Somehow anchor it to another point?

Hello- I can probably cook up a script that will at least help ease the pain.
@s.urbanski - a dev reminds me there is a secret test command that may help here -

TestMatchAnnotationFields

-Pascal

If you are in Rhino 8 you can create these for all points like so…


RH8-Re_Create-Text-Expression.gh (11.9 KB)

I would like to figure out this as well.

I know that VisualArq plugin has this feature but since I don’t need any other features in that plugin the price for it is way to much for me. Here is a gif from their website showing the dynamic elevation annotations.
Elevation-Mark-400

@Japhy I don’t really understandy what is shown on your screenshot. I am complete beginner to GH. The output number doesnt seem to be a simple +Z height

Hi Domen -
Please don’t double-post.

1 Like

Here is the solution of what you are looking for:

Labeling Point Heights.3dm (27.9 KB)
Labeling Point Heights.gh (17.4 KB)

I hope it will help

1 Like

Second way
If you don’t want to write (Level) many times, you can use List length with series. Here is the attached file


Labeling Point Heights 2.gh (22.3 KB)

1 Like

Thank you for this advice.
Is it possible to add a world coordinate?
I would like to have 529.20 m (world coordinate) instead of 0.20 m without having to move my model to 529 m.
I hope you understand my intention. For rendering purposes, I would like to leave my project at the zero point level as much as possible, and still have the option of dimensioning to m.a.s.l. or querying the coordinates.

That is pretty easy to do, just put your value in the Concatenate part.