We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Try to stretch a locked A, and it jumps along B

I've seen this before in a Graphisoft part and now it is happening to an object I'm writing, and I can't figure out what the cause is: in 2D I have two dumb (black) hotspots only, in 0,0 and widcab,0 (widcab is equal to A). A is locked, and widcab is given by the parameter settings.

If I grab the object from a hotspot I still get the 'Stretch' option in the context menu, and if I try to stretch it won't stretch (which is good) but the object will jump along B by a given dimension.

Anybody seen this before?
4 REPLIES 4
Anonymous
Not applicable
If you are locking out the A & B values they should really be locked and not equal to another value that is stretchy. If there are any two hotspots at A along one axis and/or B along the other AC will use them (or try to) to adjust those values. This can have unintended consequences. In general it is best to either use the AB values or disable them altogether.
Barry Kelly
Moderator
Ignacio wrote:
I've seen this before in a Graphisoft part and now it is happening to an object I'm writing, and I can't figure out what the cause is: in 2D I have two dumb (black) hotspots only, in 0,0 and widcab,0 (widcab is equal to A). A is locked, and widcab is given by the parameter settings.

If I grab the object from a hotspot I still get the 'Stretch' option in the context menu, and if I try to stretch it won't stretch (which is good) but the object will jump along B by a given dimension.

Anybody seen this before?
We've had this problem with locked A & B values.
The trick is to unlock them and hide them ("X" button) if you don't want the user to use them.

Then the object should stretch as expected.

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
Frank Beister
Moderator
You can do this context sensitive too:

IF GLOB_CONTEXT=5 then
LOCK "A"
HIDEPARAMETER "A"
ENDIF
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Thanks guys. It felt miserable for a couple of hours.