Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

How to define a new level marker?

Anonymous
Not applicable
I come from China. I can not find the level marker type we used in Level Tool. So I have to define a new one myself.
But how? No subtype for level marker.

Anybody know?
37 REPLIES 37
Anonymous
Not applicable
Geoff,
It occurred to me that the height of any wall can be accessed
in the script of a window from the global "Wall_Height".
Therefor one could make a library part (subtype window(wall)) that,
when placed in any wall, would display the value of
"Wall_Height" for that wall.
I played around with the idea and it seems to work.
The only thing left to do is tweak the scripts for appearance
in 2D and, if desired, 3D. (and section/elevation for that matter)
Peter Devlin
Geoff Briggs
Mentor
Cool idea. Let me know how it goes.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
Anonymous
Not applicable
Geoff,
I thought I already did.
It works.
Peter Devlin
Geoff Briggs
Mentor
So per Peter’s idea WALL_HEIGHT can be used by Windows, but can it be used by Labels?
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
Aussie John
Newcomer
you can control the position of the label using the wall_height (when used in elevations)
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
Anonymous
Not applicable
Geoff,
AFAIK, wall parameters are not available for labels.
You can script the window to look like a label in 2D,
make the left and right oversize in the details pane -a/2,
and put a triangle WALLHOLE above the top of the wall in the 3D script
to disable the default 3D hole in the wall.

Peter Devlin
Geoff Briggs
Mentor
It turns out you can indeed access the wall height from within the label tool. Thanks to Ben Hruska from the Seattle ArchiCAD Users Group for pointing this out and sharing his label object with me. I modified it to pick up the level dimension setting as set in preferences and a few other things. Screen shot below.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
Geoff Briggs
Mentor
Here’s the label for anyone interested, Mac format.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
Anonymous
Not applicable
Geoff,
I just tried your "Top of wall_GB.gsm" label.
I drew two walls, one at 10'-0" high, the other at 5'-0" high.
With the label tool, with your custom label, I labeled both walls.
The label displayed the height of both walls as 10'-0".
I then went to the wall tool settings and changed the default height
to 7'-0". I did not draw a wall at this new height setting.
I then I hit option + command to "rebuild and regenerate"
the plan window and now the both labels read 7'-0".
What am I doing wrong ?
How can I get your label to display the actual heights of
of different walls ?
Thank you,
Peter Devlin
Geoff Briggs
Mentor
Peter wrote:
What am I doing wrong ?
How can I get your label to display the actual heights of
of different walls ?
Beats me, I just repeated your test in a new file and everything worked fine. Can you please send me your file. iandidesign@comcast.net Thanks.

BTW, does anyone know how to make the label tool default to a bent leader line, like in the screen shot, when labeling a wall. It always starts out straight for me.
TOW examples.png
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x