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.

XML Schema for classification data

Professor Pickle
Advocate
I want to create, programmatically, a new classification file that uses MasterSpec's CBI classification system. This would need to follow the schema that was used to generate similar files available from Graphisoft (https://www.graphisoft.com/downloads/archicad/BIM_Data.html). My question is this: what is the XML schema that was used to generate those files?

I am very new to ArchiCAD so I don't really know where to find any of this information yet. I'd appreciate any pointers I can get.

cheers.
-tomek
Pushing the boundaries of local time/space continuum since 1972.
Archicad 26 | iMac (Retina 5K, 27-inch, 2017) | 4.2 GHz Quad-Core Intel Core i7 | 24 GB | Radeon Pro 580 8 GB | macOS 12.6


5 REPLIES 5
Professor Pickle
Advocate
A little searching and I came up with this handy web service: https://www.freeformatter.com/xsd-generator.html. The service can take some XML, and assuming it's sane and well formatted, will generate a XSD schema for you. Of course that is not the same as having the actual schema used by Graphisoft, or whoever created those classification flies, as there is no way to know if the sample documents contain all the possible fields. But it's good enough for me.

I can now use the XSD and some python to parse a CSV file containing codes and values of the MasterSpec CBI classification and generate a valid input file for ArchiCAD. I'll post it here once I've done it. Maybe some of you will find it useful/interesting. My main interest is to be able to create a simple element-based keynoting system that will tie in with MasterSpec.

cheers,
-tomek
Pushing the boundaries of local time/space continuum since 1972.
Archicad 26 | iMac (Retina 5K, 27-inch, 2017) | 4.2 GHz Quad-Core Intel Core i7 | 24 GB | Radeon Pro 580 8 GB | macOS 12.6


Professor Pickle
Advocate
If anyone is interested I've attached a zip file with Masterspec CBI classifications, both level 2 and level 4. You can import it into ArchiCAD using Classification Manager. Turns out I didn't really need a schema, although it was helpful in verifying that I was generating correct XML.

This classification is useful in and of itself but I think that the true power lies in being able to use classifications as a key noting mechanism. Unfortunately there is no way to get at the "description" field from within any of the smart labels. That is the one thing that is stopping my idea from working. Hopefully someone from GS is reading this and will realise just how awesome this idea is and how pure is the implementation. It's a not-so-basic key noting solution that can be implemented in ArchiCAD only. No third party add-ons required!

Read my related wish post if you want to know more about this idea.
Pushing the boundaries of local time/space continuum since 1972.
Archicad 26 | iMac (Retina 5K, 27-inch, 2017) | 4.2 GHz Quad-Core Intel Core i7 | 24 GB | Radeon Pro 580 8 GB | macOS 12.6


Gyuri Nyitrai
Graphisoft
Graphisoft
Tomek wrote:
This classification is useful in and of itself but I think that the true power lies in being able to use classifications as a key noting mechanism. Unfortunately there is no way to get at the "description" field from within any of the smart labels. That is the one thing that is stopping my idea from working. Hopefully someone from GS is reading this and will realise just how awesome this idea is and how pure is the implementation.
Tomek,

Thank you for sharing the CBI classification XML files!
Regarding the classification description field I can say that it was already requested from other markets too, so this enhancement is on our product backlog. Until it will be available you can list this field via Interactive Schedule only.

Regards,
Gyuri
Professor Pickle
Advocate
@gyuri Thanks for that. It's really nice to know that you guys are listening. Thanks for the tip on how to get it to display in a schedule. I had actually figured it out and I'm using this already. It works really well for me.

Also, while I've got you here paying attention, it would be awesome if GS switched from a single annual release to say quarterly minor releases. This would allow you to deploy simple features more often. I bet it would make a whole lot of people really happy. You already have the mechanism for this with your patches/hotfixes for bugs. Why not extend it to small enhancements.

Anyway, you're doing a great job. Thanks!
Pushing the boundaries of local time/space continuum since 1972.
Archicad 26 | iMac (Retina 5K, 27-inch, 2017) | 4.2 GHz Quad-Core Intel Core i7 | 24 GB | Radeon Pro 580 8 GB | macOS 12.6


Astrid Freeman
Newcomer

Hi Tomek,

Probably you solved this already. But for those looking for the file, it comes as a .cvs file that can be edited in Excel: CI Tools Keynotes

You can find it at C:\Program Files\GRAPHISOFT\Archicad 24\CI Tools Extras and then import it to Archicad. 

Cheers

AstridFreeman_0-1632970855582.png