Is anyone having much luck with 3D editable hotspots
I am trying to move a point in the X, Y and Z directions at the same time.
Seems impossible.
Try as I might I can only get a dialogue box that allows me to change two values.
Here is the 3D script I am using.
!Stretchy x
HOTSPOT 0, dist_y, dist_z, unID, dist_x, 1+128 !base
HOTSPOT -1, dist_y, dist_z, unID, dist_x, 3 !reference
HOTSPOT dist_x, dist_y, dist_z, unID, dist_x, 2 !moveable
unID=unID+1
!Stretchy y
HOTSPOT dist_x, 0, dist_z, unID, dist_y, 1+128 !base
HOTSPOT dist_x, -1, dist_z, unID, dist_y, 3 !reference
HOTSPOT dist_x, dist_y, dist_z, unID, dist_y, 2 !moveable
unID=unID+1
!Stretchy z
HOTSPOT dist_x, dist_y, 0, unID, dist_z, 1+128 !base
HOTSPOT dist_x, dist_y, -1, unID, dist_z, 3 !reference
HOTSPOT dist_x, dist_y, dist_z, unID, dist_z, 2 !moveable
unID=unID+1
add dist_x, dist_y, dist_z
sphere 0.1
With this I can only move in the X or Y direction.
Only X and Y appear in the dialogue box.
I can use the SHIFT button to constrain along either axis.
Remark the X or Y hotspots out and then the Z value suddenly appears in the dialogue box.
But using the SHIFT button to constrain only allows me to move in the X or Y direction (whichever was not commented out) and the Z value drops to zero.
I must type in a value for Z - it can not be constrained with SHIFT.
Ideally I would like to graphically move in all 3 directions with the ability to use the SHIFT button to constrain the X, Y or Z values.
To quote from the on-line GDL help file: -
"In 3D, the combination of three sets of length editing hotspots allows the hotspot to be placed anywhere in space. "
And from the Archicad 8 Training Guide (page 192): -
"Depending on their programming, GDL Objects can have smart editing hotspots in 3D. If you select such an object in 3D view, click a 3D hotspot and choose the horizontal or vertical stretch icon in the pet palette (whichever is appropriate), you will get both a visualfeedback of the available stretching range and the name of the value of the parameter you are modifying"
Normally only the horizontal stretch button is available in the pet palette.
The only way I can get the vertical stretch button to appear is if I use ZZYZX as my height variable.
But still the dialogue box only shows the Z value and X OR Y, but not all three.
I am using V8.1 R2c (build 2284) on Windows XP professional.
Could anyone please shed some light on this?
Thanks,
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