IFC-commenter
Some peeps might like this utility.
https://github.com/OpeningDesign/ifc-commenter
It comments out an IFC like the following, so you can dissect it.
Helps me understand IFC structure, and troubleshoot IFC files.
Some peeps might like this utility.
https://github.com/OpeningDesign/ifc-commenter
It comments out an IFC like the following, so you can dissect it.
Helps me understand IFC structure, and troubleshoot IFC files.
Comments
Very cool! Made a link to it on the software directory: https://wiki.osarch.org/index.php?title=Free_software_libraries_for_AEC_software_development
With the help of chatgpt. The following Windows shell script allows you to right-click on an .ifc, and convert it to a commented .ifc file.
_commented
suffix.Save the Batch Script: Save this script with a
.bat
extension, for example,ifc-commenter-script.bat
.Add the Script to the Context Menu: To add this script to the right-click context menu, you need to add an entry to the Windows Registry.
Win + R
, typeregedit
, and press Enter).HKEY_CLASSES_ROOT\*\shell
.shell
, selectNew -> Key
, and name it something likeIFC Commenter
.IFC Commenter
), selectNew -> Key
, and name itcommand
.Set the value of the
(Default)
entry in thecommand
key to the path of your batch script with%1
as an argument. For example:"C:\path\to\your\script\ifc-commenter-script.bat" "%1"
After these steps, when you right-click on an
.ifc
file, you should see an option calledIFC Commenter
in the context menu. Selecting this option will run the batch script, which in turn will run your command and generate the output file with the_commented
suffix.