2021-09-07 06:23 PM - last edited on 2022-07-21 07:22 AM by Gordana Radonic
Is it possible to create a custom classification? How it's done in Revit. Our customer wants to provide his classification.
2021-09-08 11:57 AM - edited 2021-09-08 11:59 AM
I think that it is not impossible using GDL.
My idea would be to write a GDL script to read the TXT file, interpret what is happening (e.g. the next line in the TXT file is a level 1/2/3/4 item, or it is the Child entry of the item in the previous line, or it is a new item in a higher level (e.g. after five level 4 items, the next line in the TXT file is a level 3 item), and based on that regenerate the same structure in XML, but following the formatting that Archicad requires.
I would be using the TXT I/O GDL extension to read from the TXT file, and the XML I/O GDL extension to write the XML file.
I definitely do not have the time to do it, but if I did something like this, this is the approach I would take.
2021-09-08 12:01 PM
Here is another approach using Excel in another thread:
2021-09-09 10:55 AM
Or you could write a script to parse the Revit Assembly Code text file and make an XML from it. But yes, the method in the other thread could be followed as inspiration.