Object placed at a set height???
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-05-02 12:06 PM
‎2017-05-02
12:06 PM
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
Windows 10
3 REPLIES 3
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-05-02 01:47 PM
‎2017-05-02
01:47 PM
JGoode wrote:! 3D_script
Hello,
I was wondering if there is any way that I can script an object to be placed at a set height??
Thanks
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-05-02 02:32 PM
‎2017-05-02
02:32 PM
SL_GDL wrote: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.
! 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
ArchiCAD 23
Windows 10
Windows 10

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-05-03 02:57 AM
‎2017-05-03
02:57 AM
The hotspots will need to be scripted between the ADDz and DEL lines so they move with the BLOCK.
Barry.
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
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