We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2007-07-17 04:01 PM
2007-07-17 04:57 PM
A wrote:Through GDL, you can rotate any elements separately of any others. It's just a matter of grouping your ROT2 and DEL statements so that each hotspot/element is rotated independently.
I have a symbol representing an electrical outlet along with informational text. The text has its own hotspots, so it is free to move independently of the symbol, but they are still restricted to the rotation of the symbol. Ideally i would like to have one gdl object with one symbol and multiple text elements, each able to rotate and move independently of each other. Can each hotspot group be rotated independently, like they can be moved independently?
2007-07-17 05:17 PM
2007-07-17 05:22 PM
ADD2 X, Y ROT2 ang TEXT2 x, y, "Text" DEL 2
2007-07-17 05:44 PM
2007-07-17 05:53 PM
A wrote:You'll need rotation hotspots to make it happen. Rotation hotspots use the format:
Thanks for your help and baring with me Tom. I understand your suggestion, but that does not allow me to alter the movement or rotation of the text in the model window. By using that hotspots I'm able to move a hotspot and a corresponding text. I think if i can use the below correctly, I can also rotate a hotspot independently in the model window. Is it possible?.
HOTSPOT2 0,0, unID, angle, 6 : unID = unID + 1 HOTSPOT2 A, 0, unID, angle, 4 : unID = unID + 1 HOTSPOT2 A*COS(angle), A*SIN(angle), unID, angle, 5 : unID = unID + 1 ROT2 angle
2007-07-17 06:06 PM