SCHEDULE EXPRESSIONS - SOLUTION TO WINDOW WIDTH ISSUE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-26 06:51 AM
IF (Length > 0, Length, Width)
Unfortunately it didn't work. Any ideas of how to make this work.
Archicad 27 USA (full), Macbook Pro (16-inch 2023, M3 MAX, 128 GB RAM)
- Labels:
-
Data management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-27 03:56 AM
What I still don't understand is why the property values get added together for identical items when the property is an expression. The schedule clearly does NOT add together the values that are returned by the basic 'Width' and 'Length' parameters, even with the 'Merge Uniform Item' option checked. It only happens in the column driven by the expression.
I would have expected the schedule to not know the difference, and not discriminate between data returned from the basic property 'Width', and data returned from the exact same element attribute delivered through the use of an expression simply pointing to that very same property.
ie: If 'Width' = 10, and 'Expression (Width)' also = 10...why does the schedule multiply 'Expression (Width)' x 'Quantity', but not 'Width' x Quantity?
Perplexing...
Archicad 27 USA (full), Macbook Pro (16-inch 2023, M3 MAX, 128 GB RAM)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-27 04:34 AM
IOW -- this is a bug -- somebody forgot about expressions and the schedule is quantifying expressions. There are many other instances in which this is desirable. A switch was probably too much trouble for the programmer or someone thought it would be too confusing?
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-27 06:27 PM
CELL 1: 10.70833 (feet)
CELL 2: 'INT (CELL 1)' returns 10
CELL 3: '(CELL 1 - CELL 2)' returns 0.70833 (decimal feet remand to be converted into inches)
CELL 4: '(CELL 3) x 12' = 8.5
CELL 5 is a string of values from other cells and added text for expression of the units...such as:
( (CELL 2) "feet" (CELL 4) "inches") and returns: 10 feet 8.5 inches
Is it possible to script something like this into the expression editor...potentially using several co-dependent properties..where each cell noted above is a different property?
Archicad 27 USA (full), Macbook Pro (16-inch 2023, M3 MAX, 128 GB RAM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-27 06:28 PM
Archicad 27 USA (full), Macbook Pro (16-inch 2023, M3 MAX, 128 GB RAM)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-27 08:04 PM
Jeff wrote:There have been no moderators in this thread... until now
...sidenote...when a bug is discovered like this, do I report it, or is that something you do as a moderator?
Cheers,
Karl
PS For the decimal to FFI example, even in Excel there is no need to stretch the conversion across so many cells. One formula will suffice.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-27 08:34 PM
TEXTJOIN ( " ", TRUE, STR ( ROUNDDOWN ( {Property:General Parameters/Width} / 1 ft, 0 ), 0 ), "FT", TEXTJOIN ( " ", TRUE, STR ( MOD ( {Property:General Parameters/Width} / 1 ft, 1 ) * 12, 0 ), "in" ) )
However expressions have no way of knowing what the cal units setting is -- if set on something else -- would not work.
Windows 11 - Visual Studio 2022; ArchiCAD 27

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-28 03:02 AM
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-29 05:00 PM
Archicad 27 USA (full), Macbook Pro (16-inch 2023, M3 MAX, 128 GB RAM)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-29 09:55 PM
Jeff wrote:
...sidenote...when a bug is discovered like this, do I report it, or is that something you do as a moderator?
I will report this to GRAPHISOFT so they are aware of it.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-04-30 02:48 AM
Jeff wrote:
And yet the schedule does NOT automatically sum the values of any of the other fields / properties...just the ones that are based on expressions...inconsistent programming.
Not just expressions.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11