BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Object placed at a set height???

JGoode
Advocate
Hello,

I was wondering if there is any way that I can script an object to be placed at a set height??

Thanks
ArchiCAD 23

Windows 10
3 REPLIES 3
Anonymous
Not applicable
JGoode wrote:
Hello,

I was wondering if there is any way that I can script an object to be placed at a set height??

Thanks
! 3D_script
CONSTANT_H=0.5 ! Set constant level=0.5m
ABS_Z=-1 ! COEF. In order not to depend on the level placement.
ADDZ ABS_Z*SYMB_POS_Z+CONSTANT_H
BLOCK A, B, ZZYZX
DEL 1
JGoode
Advocate
SL_GDL wrote:

! 3D_script
CONSTANT_H=0.5 ! Set constant level=0.5m
ABS_Z=-1 ! COEF. In order not to depend on the level placement.
ADDZ ABS_Z*SYMB_POS_Z+CONSTANT_H
BLOCK A, B, ZZYZX
DEL 1
Thanks for the answer but I get an issue with the hotspots not being where they should be so if you could help with that it would be much appreciated.
ArchiCAD 23

Windows 10
Barry Kelly
Moderator
The hotspots will need to be scripted between the ADDz and DEL lines so they move with the BLOCK.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Learn and get certified!