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.

Mirror & rotating text

Anonymous
Not applicable
Hi there,
Can someone please help me with this, I have exhausted all my limited knowledge.
I do allot of 'typical' houses for a client & quite often we need to rotate/ mirror houses etc to suit clients req's.
This quick object I have madegives a quick room dimension. I would like the text to stay put whenever I rotate/ mirror the object.
It works in the majority of situations except when I 'mirror' in the Y-Plane, then the text flips to the other side of the centre point (sometimes clashing with furniture etc.
Can you please help me correct this.

Thanks.
4 REPLIES 4
Laszlo Nagy
Community Admin
Community Admin
Maybe you should try the mirroring/rotating on a Layout.
Place the Drawing on a Layout and rotate it there.
Or you may experiment with saving it as Module, then placing the Module and playing with the setting that controls the rotation of Text within the placed module.
See the Help file for more info on this.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Barry Kelly
Moderator
Try using centre justified text in your object rather than left justified?
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
Anonymous
Not applicable
You can try this. Text object follows the behaviour of Text tool.
In text style definition, set anchor point to 5, as Barry said.
EPS = 0.0001
bCond = (SYMB_ROTANGLE > 90+EPS and SYMB_ROTANGLE <= 270+EPS)    ! 0 or 1

add2 A/2, B/2
rot2 180 * bCond
	
text2  0, 0, "Text"

del 2
If you have rot2 transformations in your script, it may be more complex.
Text Object Orientation.png
Anonymous
Not applicable
Hello,

On and after ArchiCAD version 13 the user can rotate the view, which
sometimes is messing the text rotation. You can request this, for example;

success = request("view_rotangle", "", angleViewRotation)
SYMB_ROTANGLE = SYMB_ROTANGLE + angleViewRotation
SYMB_ROTANGLE = SYMB_ROTANGLE -((SYMB_ROTANGLE > 360)*360)

This could be added after the first line of Oliver's code (if needed).


Hope this helps.

Regards, Juha