2003-12-02 03:33 PM
2004-11-02 04:48 PM
Olivier wrote:It is inevitable that any new feature leaves room for improvement. There has also always been some inconsistency with moving/stretching in the z direction. The relative r (type r and enter distance) does not work on the z axis, it only accepts values as relative to project zero (maybe it works with the user origin too - I haven't tried that) and not the element's origin nor the current (command) origin.
Barry, you can move the 3D hotspot in xyz dimensions, but only two palettes of coordinates will show.
Look at this example, Tentmaker_1.gsm, the interface allows to choose z or xy or xyz coordinates for 3D hotspots.
http://archicad-talk.graphisoft.com/viewtopic.php?t=3183
Unfortunatelly with xyz, the control is not easy, because the shift key does not work as expected with z axis.
The hotspot feature needs some improvement.
2004-11-02 07:29 PM
Barry wrote:I don't know if it matters in your case, but we had a bit of confusion over the hotspot ID issue when editable hotspots were introduced - discussion archived in GDL-talk I think. Note that the GDL reference manual and Graphisoft indicate that each hotspot command should have a unique ID, not the group of hotstpots as you show (and as I also misunderstood when this feature was introduced).
!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 x HOTSPOT 0, dist_y, dist_z, unID, dist_x, 1+128 !base unID=unID+1 HOTSPOT -1, dist_y, dist_z, unID, dist_x, 3 !reference unID=unID+1 HOTSPOT dist_x, dist_y, dist_z, unID, dist_x, 2 !moveable unID=unID+1HTH,
2004-11-02 10:10 PM
Karl wrote:Karl you are right. May i add that GS recommends always to declare the first unID (unID=1 or 1000 or more) depending if you call macros.
Note that the GDL reference manual and Graphisoft indicate that each hotspot command should have a unique ID, not the group of hotstpots as you show
2004-11-05 02:43 AM
Karl wrote:
I don't know if it matters in your case, but we had a bit of confusion over the hotspot ID issue when editable hotspots were introduced - discussion archived in GDL-talk I think. Note that the GDL reference manual and Graphisoft indicate that each hotspot command should have a unique ID, not the group of hotstpots as you show (and as I also misunderstood when this feature was introduced).
So your code should read:
!Stretchy x HOTSPOT 0, dist_y, dist_z, unID, dist_x, 1+128 !base unID=unID+1 HOTSPOT -1, dist_y, dist_z, unID, dist_x, 3 !reference unID=unID+1 HOTSPOT dist_x, dist_y, dist_z, unID, dist_x, 2 !moveable unID=unID+1HTH,
Karl
2004-11-05 02:51 AM
Olivier wrote:Olivier,
To come back to Barry's post, if i want to move the hotspot in the 3D window,
If i declare x, i can constrain the hotspot in x direction
If i declare y, i can constrain the hotspot in y direction
If i declare z, i can constrain the hotspot in z direction
If i declare xy, i can constrain the hotspot in x and y directions
If i declare xz, i can constrain the hotspot in x direction only, i can move it on z, but without control
If i declare yz, i can constrain the hotspot in y direction only, i can move it on z, but without control
If i declare xyz, i can constrain the hotspot in x and y directions, i can move it on z, but without control
If you get different results, please tell me, i will be glad to learn.
I would like three palettes of coordinates when i declare xyz, and the ability to constrain the z direction.
Smart hotspots are one of the best features of AC8, but sorry to insist, they need some improvements.
2005-01-20 04:05 AM
!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+1I get an error that dist_x is not a valid parameter name. This appears to be the case whatever variable I use. The reason could be the time of day I'm working on this, but... maybe not. So, anybody have any ideas? This is with AND without increasing the unID for each HOTSPOT.
2005-01-20 06:00 AM
2005-01-20 06:13 AM
Sergio wrote:Ayyyy. No, that's the code that I said NOT to use. You must assign a unique ID to each hotspot, so the unID variable must be incremented as in the code samples earlier in this thread.
I'm trying to create a new block that's editable in 3d. From what I understand, 3d HOTSPOTS is the answer. However, I seem to have hit upon a baffling problem. If I try to use the sample editable hotspot code provided by Karl...!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+1I get an error that dist_x is not a valid parameter name. This appears to be the case whatever variable I use. The reason could be the time of day I'm working on this, but... maybe not. So, anybody have any ideas? This is with AND without increasing the unID for each HOTSPOT.
2005-01-20 10:32 AM
2005-06-14 02:14 PM