cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Text in objects

Yvonne
Advocate
I have created a 2D object with an editable text box. How can I edit the object so the text will be readable when it gets rotated?
AC26 | Win11 | 64 bit | 32Gb RAM | Intel i9-9900K @ 3.60GHz
5 REPLIES 5

Lingwisyer
Legend
You could pull SYMB_ROTANGLE and use that to counter the object rotation or use n = REQUEST ("view_rotangle", "", angleViewRotation) to counter the View rotation.

If it is a Label you can use AC_bLabelAlwaysReadable.

Have a browse through the GDL Reference Guide, it is all there.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 

DGSketcher
Champion
This may help...
http://gdl.graphisoft.com/tips-and-tricks/how-to-make-an-always-readable-text-cs
Apple iMac macOS Monterey / AC26UKI (most recent builds)

Yvonne
Advocate
Lingwisyer wrote:
You could pull SYMB_ROTANGLE and use that to counter the object rotation or use n = REQUEST ("view_rotangle", "", angleViewRotation) to counter the View rotation.

If it is a Label you can use AC_bLabelAlwaysReadable.

Have a browse through the GDL Reference Guide, it is all there.



Ling.
Thanks Ling.
I'm new to this so still trying to wrap my head around GDLs.
Been trying to read up on it but still no idea where to enter the “View_Rotangle” request
AC26 | Win11 | 64 bit | 32Gb RAM | Intel i9-9900K @ 3.60GHz

Lingwisyer
Legend
The article that DGSketcher linked shows you how to set it out. Just replace the TEXT2 with what ever text and shapes you are wanting to rotate.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 

Barry Kelly
Moderator
Yvonne wrote:
Been trying to read up on it but still no idea where to enter the “View_Rotangle” request

You only need to worry about “View_Rotangle” if you want to counter-act the rotation of the screen in Archicad.
If not, don't worry about it.

If you just want to counter-act the rotation of the object, then use -SYMB_ROTANGLE in your TEXTBLOCK command - for the 'angle' value in the TEXTBLOCK command.


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!