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

Text in objects

Yvonne
Booster
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?
5 REPLIES 5

Lingwisyer
Virtuoso
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.
AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

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

Yvonne
Booster
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

Lingwisyer
Virtuoso
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.
AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

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!