cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Object placed at a set height???

JGoode
Expert
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
Expert
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
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11