Documentation
About Archicad's documenting tools, views, model filtering, layouts, publishing, etc.

Zones with \n showing up in area schedule - AC 23

mmbrajohan
Booster

Hi there.

 

When I use the line separator \n function to create a line break for zone names, the '\n' still appears in the area schedule.

 

Is there a way to hide the '\n' in the schedule?

 

EX:

Cleaner\nStore (typed name for zone name)

Cleaner Store (displayed in zone name in plan)

Cleaner\nStore (displayed in schedule, but should display as Cleaner Store)

 

 

AC 23

Ryzen 5 3600

32GB 2400MHz RAM

NVidia RTX 2070 Super

512GB NVME
9 REPLIES 9

Hello,

 

Did you try to create a expression property with SUBSTITUTE command ?

Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin
mmbrajohan
Booster

Hi Christophe.

 

I'm not sure how to do that?

AC 23

Ryzen 5 3600

32GB 2400MHz RAM

NVidia RTX 2070 Super

512GB NVME
Laszlo Nagy
Community Admin
Community Admin

What I think Christophe means is that you could go to the Property Manager Dialog and you could create a new Property for your Zone. This Property would be used for scheduling purposes, not the Zone Name.  The Property would be defined by an Expression, in which you take the Zone Name and substitute the "\n" text within it with a SPACE character.

The below screenshot shows the exact Expression to use and the result in a Schedule.

One thing I found:

In the SUBSTITUTE command, I had to write "\\n" instead of "\n" because in the case of the latter it did not consider the "\" character.

Probably writing \\ is the way to explicitly tell the Expression Editor that you really meant the \ character. 

 

PropertyExpression-Substitute.png

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

Hi guys.

 

That is exactly what I'm looking for...

 

Thanks Laszlo for the tip, but I am really struggling to get this right. I keep on getting an error for the command. I have watched a few tutorials on this, but it is still going over my head.

 

Would you be so kind as to tell me step by step how to this?

 

So sorry for the inconvenience...

 

AC 23

Ryzen 5 3600

32GB 2400MHz RAM

NVidia RTX 2070 Super

512GB NVME
Laszlo Nagy
Community Admin
Community Admin

Show me a screenshot of where you get the error message and what it says.

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

I dont have permission to upload images...

 

The error reads as a syntax error...

AC 23

Ryzen 5 3600

32GB 2400MHz RAM

NVidia RTX 2070 Super

512GB NVME

There should be no problem attaching images.

Save your image file and then attach with the camera (image) icon when you compose your message.

 

BarryKelly_0-1631233685576.png

 

I also discovered if you use a screen capture program, you can just capture the image to your clipboard and paste it in the reply.

 

Barry.

 

 

 

 

 

 

 

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
mmbrajohan
Booster

Ok... Here goes...

 

mmbrajohan_0-1631543357132.png

It didn't before... Sorry guys

AC 23

Ryzen 5 3600

32GB 2400MHz RAM

NVidia RTX 2070 Super

512GB NVME
Laszlo Nagy
Community Admin
Community Admin

What happens if you replace the COMMA (",") characters in the expression with SEMICOLONS (";")?

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