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

SYMB_ROTANGLE query

JGoode
Advocate
Hello,

I was wondering if it was possible to lock down the ability to rotate an object from within it?
(So it can't be rotated when placed)

Thanks!
ArchiCAD 23

Windows 10
4 REPLIES 4
Erwin Edel
Rockstar
I use a 'trick' to stop symbols from being displayed as mirrored:
if symb_mirrored then mul2 -1,1
That is part of the 2D script, since it is just a 2D object. However, the object itself will still be mirrored.

You could do the same with symb_rotangle, I would say.

I don't think rotation is a lockable parameter as A, B and ZZYZX are.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
JGoode
Advocate
Erwin wrote:
I use a 'trick' to stop symbols from being displayed as mirrored:
if symb_mirrored then mul2 -1,1
That is part of the 2D script, since it is just a 2D object. However, the object itself will still be mirrored.

You could do the same with symb_rotangle, I would say.

I don't think rotation is a lockable parameter as A, B and ZZYZX are.
I understand I can just do ROT2 -symb_rotangle but I was just curious if there was a way of either setting it to always be 0 or lock it or hide it but from what I can tell, you can't do any unfortunately the rot2 does the trick this time!
ArchiCAD 23

Windows 10
Erwin Edel
Rockstar
You can lock the object itself after you place it, but I don't think that is what you are after.

The mirror and rotate 'trick' I find mostly useful for 2D objects that should not be mirrorerd etc when used with hotlinked modules.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Barry Kelly
Moderator
SYMB_MIRROR and SYMB_ROTANGLE aren't actually parameters like A, B, ZZYZX, etc.
Therefore you can't LOCK or HIDE them in an object script.
The best you can do is to un-mirror or un-rotate as you have discovered.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11