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

Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

masterformat classification

alemanda
Advocate
Is there any chance to have a preset masterformat classification?
Is it possible to create custom rules for classification?

masterformat classification.jpg
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
26 REPLIES 26
Laszlo Nagy
Community Admin
Community Admin
Yes, it is possible to create custom IFC Rules.
All IFC Rules are in the
"Graphisoft\IFC Rules 19.0.0 INT"
folder within your User Profile folder (such as "C:\Users\Joe").
They are XML files with a relatively easy-to-understand structure.

I think you can take an existing XML file, copy it and modify that. Make sure it is in this same folder because the Apply Predefined Rules Dialog looks for them in that folder.

Check the attached screenshot. Notice how the different fields within the dialog correspond to the different rows in the XML file.
Also notice how that hierarchical structure of the data entries are created by the XML file.

I think the <ApplicableTo> portions are important. For example, this XML code
		<ApplicableTo>
			<ClassName>IfcObject</ClassName>
			<ClassName>IfcTypeObject</ClassName>
		</ApplicableTo>
will make this Rule enabled in the Apply Predefined Rules Dialog, because you specified that this Rule set is applicable to IFC Objects.
There are other IFC Classes, like IFCStorey or IFCBuilding, IFCSpace, etc.
For example, the COBIE Rule set applies only to Zone elements. So if you select a placed Wall, go to its settings Dialog, then click Manager IFC Properties, click Apply Predefined Rule to get to this Dialog, then select the COBie Rule, you will see that its contents are grayed and you cannot apply a COBie Rule to a Wall. This is because the COBie XML specifies that it is applicable to IFCSpaces. So this is why the <ApplicableTo> segment is important.

From what I saw on the net this Masterformat is a classification system for objects, so the above should work, which is why you may want to make a copy of the CAWS XML and modify that copy.
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
alemanda
Advocate
Thank you very much Lazslo for your time to explain the procedure.
Yes it seems not to be so difficult in terms of programming ... just a little bit tedious to follow the syntax ...
I don't know if masterformat is covered by copyright ... so I'll try to implement masterformat for my use.
Thank you very much
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
alemanda
Advocate
... maybe with a copy/paste + text combination using a spreadsheet it will be very easy ...
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
alemanda
Advocate
I'm facing a trouble ..
I implement the divisions of masterformat 2014 starting from the caws.xml file.
Everything was ok.
I launched archicad 19 and I found the masterformat in my IFC rules. Well. I closed archicad. Then I edited again the xml file and after launching again archicad I didn't found the changes; I just find the first version of my new xml file (which has been overwritten)
Why?
It seems archicad put it into a sort of cache ... If so, how to reset that cache?
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
alemanda
Advocate
Ok. Resolved.
It seems that opening a new file it refreshes up the rules.
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
Laszlo Nagy
Community Admin
Community Admin
Hey alemanda,

You are a guinea pig now.
You may be the first one to try this.
Keep up the good work.
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
alemanda
Advocate


The most "difficult" and tedious part is to prepare the data.
But I found a way ...
I don't know if I can ... but at the end I would like to show and share the work
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
alemanda
Advocate
DIV 01. Done.
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it
alemanda
Advocate
alemanda wrote:
I'm facing a trouble ..
I implement the divisions of masterformat 2014 starting from the caws.xml file.
Everything was ok.
I launched archicad 19 and I found the masterformat in my IFC rules. Well. I closed archicad. Then I edited again the xml file and after launching again archicad I didn't found the changes; I just find the first version of my new xml file (which has been overwritten)
Why?
It seems archicad put it into a sort of cache ... If so, how to reset that cache?
I understood what happens.
I'm in WIN
When archicad starts it creates a copy of the translators, ifc rules, schemes and other things under /users/graphisoft/

When you close archicad you suppose it deletes all the copied things. It doesn't ... so in order to apply the new IFC Rule you should copy manually into that "local" folder. Is it a bug?
AC27 latest hotfix

Win 10 Pro 64bit

Double XEON 14 CORES (tot 28 physical cores)

32GB RAM - SSD 256GB - Nvidia Quadro K620

Display DELL 25'' 2560x1440

www.almadw.it