We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

Masterformat data parsing by property expression

gdford
Advisor

The Master format classification system has a typical character size of xx xx xx --> 8 characters, in some instances it has three more characters like xx xx xx.xx which is 11 characters. Using the archicad built-in masterformat classification system the classification ID is the number and the Name is the text... There is NO built in label that lets you drill down to yielding the ID or the Name ... All you can get is both... In a schedule you can choose. I know I can use the split command in a property expression to parse out the number from the text, but not when i do not know the total characters I am looking for or not when I do not have a unique separator between the text and the number.

Does anyone have any thoughts on this?
All I want in the label is the number and I want to use the built-in masterformat classification system.

Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-26
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000
2 REPLIES 2
gdford
Advisor

Well Heck - I figured out a solution....

This works in both instances.

gdford_0-1695328197714.png

 

Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-26
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000

... and then if I only want the text I can use this...

gdford_1-1695329343008.png

I found the of the Length of the ID usings this and used that for the starting point of the MID expression and used 50 as the wild card for max text length

gdford_2-1695329414842.png

gdford_3-1695329509446.png

This functionality should be built into the properties and classification label - shame on you graphisoft!!

Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-26
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000