Choose your top Archicad wishes!

Read more
GDL
About building parametric objects with GDL.

Extra accuracy

Joze Marinko
Contributor

Hey,

I read door dimension settings from Project Preferences. With Request I get formating string. Now I want create a text as on image below:

Screenshot 2024-05-04 at 17.02.50.png

 

Operating system used: Mac Intel-based Ventura 13.6.6.

1 REPLY 1
Peter Baksa
Graphisoft
Graphisoft

Hi,

 

Use STR{2} to split the value to normal and extra accuracy parts. DEFINE STYLE{2} has a superscript flag, use that to format the extra part. Put the strings in a

PARAGRAPH - TEXTBLOCK - RICHTEXT2 workflow, so you don't have to worry about positioning.

 

 

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Setup info provided by author