cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Samuel1997
Booster

Property Expression Line Break

Hey guys, 

Wondering if there is a way to add line breaks into property expressions within property manager, for GDL its \n but the backslash character doesnt seem to function within property manager, and i guess it would need to be an operator or such? 

 

Cheers Sam

AC19/24/26 | Win11 | 12th gen i-7 | 32GB | RTX 3070 Ti
2 Replies 2
Peter Baksa
Graphisoft
Graphisoft

It seems string type properties can't be multiline, if you copy-paste a multiline string from description to value, the newline is lost.

Using TEXTJOIN ( "\n";...) inserts "n" into the string, as if it is an invalid escape character.

Using TEXTJOIN ( "\\n";...) inserts "\n" into the string which will be interpreted as a newline if you use the string's value in GDL TEXT command, but stays \n in IES.

 

 

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Samuel1997
Booster

Thanks for the brainstorm peter, I guess just have to wait and hope they add in a new line command feature within property expression editor. (The idea i was attempting to achieve was to split a single property expression string result, across multiple lines. ) 

AC19/24/26 | Win11 | 12th gen i-7 | 32GB | RTX 3070 Ti

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!