I’d like to stretch a rectangle within the x-axis either by it’s low-right corner (A parameter) or by it’s low-left corner (A=0 by definition). Is there a way to do so?
I’ve tried to do it by adding a 256 attribute to the first hotspot but when I stretch it to the left, the rectangle actually keeps its 0,0 position and changes its dimension to the right.
Here’s what I’ve put :
HOTSPOT2 0, 0, unID, A, 1+256
HOTSPOT2 0, 0, unID+1, A, 2+256
HOTSPOT2 1, 0, unID+2, A, 3+128
If your rectangle size is set to the A value then you actually dont need to use moveable hotspots. The standard “hotspot2 A, 0” will be movebale. its one of the nice efficiencies in Archicad that is very helpful when creating windows and doors.
So an editable rectangle (with bottom left corner as 0,0) would simply need the following 4 hotspots:
hotspot2 0, 0
hotspot2 0, B
hotspot2 A, B
hotspot2 A, 0