Layers in expressions

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-28
08:10 PM
- last edited on
‎2023-05-30
12:36 PM
by
Rubia Torres
‎2018-12-28
08:10 PM
Thanks , Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9
Labels:
- Labels:
-
Project Management
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-28 09:29 PM
‎2018-12-28
09:29 PM
Yes -- Simply include the property 'layer' within your IF statement as in: IF ( Logical, ValueIfTrue, ValueIfFalse )
Layer is listed under general parameters and is available for all elements.
Layer is listed under general parameters and is available for all elements.
Gerry
Windows 11 - Visual Studio 2022; ArchiCAD 27
Windows 11 - Visual Studio 2022; ArchiCAD 27

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-28 10:32 PM
‎2018-12-28
10:32 PM
Thanks poco2013 for the insight however I think I am not doing the expression correctly
I am trying to get the area of all zones on the "floor area" layer - can you show me my error ?
Thanks , Randy
I am trying to get the area of all zones on the "floor area" layer - can you show me my error ?
Thanks , Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-28 11:46 PM
‎2018-12-28
11:46 PM
Your using a assignment -- try a conditional like:
IF ( CONTAINS ( "A - Zones - Room.3D", {Property:General Parameters/Layer}, FALSE ), {Property:Zone/Measured Area}, 0 ft2 )
EDIT: Note all returns must have the same units
IF ( CONTAINS ( "A - Zones - Room.3D", {Property:General Parameters/Layer}, FALSE ), {Property:Zone/Measured Area}, 0 ft2 )
EDIT: Note all returns must have the same units
Gerry
Windows 11 - Visual Studio 2022; ArchiCAD 27
Windows 11 - Visual Studio 2022; ArchiCAD 27

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-29 12:43 AM
‎2018-12-29
12:43 AM
Gerry you seem to have expressions down pat -- I however am lacking
I did get a result with :
IF ( CONTAINS ( "Floor Area", {Property:General Parameters/Layer}, FALSE ), {Property:Zone/Measured Area}, 0 ft2 )
when I select a zone it shows as working but
when I introduce it to a schedule it only returns "0"
Thank you for your help ,
Randy
I did get a result with :
IF ( CONTAINS ( "Floor Area", {Property:General Parameters/Layer}, FALSE ), {Property:Zone/Measured Area}, 0 ft2 )
when I select a zone it shows as working but
when I introduce it to a schedule it only returns "0"
Thank you for your help ,
Randy
ArchiCAD 4.5 --- 27 , Win 10 , dual monitors, 64 gb ram,Nvidia GeforceRTX 2080 TI, I-9

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-12-29 01:34 AM
‎2018-12-29
01:34 AM
If its returning 0, probably the layer name is somehow mismatched as it is returning the false statement
Double check by first selecting your zone then open property manager, select your property, click on Evaluate in your property manager to see what is returned and then troubleshoot there.
Make sure you have set the classifications properly both for the property and the zone.
Double check by first selecting your zone then open property manager, select your property, click on Evaluate in your property manager to see what is returned and then troubleshoot there.
Make sure you have set the classifications properly both for the property and the zone.
Gerry
Windows 11 - Visual Studio 2022; ArchiCAD 27
Windows 11 - Visual Studio 2022; ArchiCAD 27