to edit properties you can do it from the Project Setup > Property Set Templates (I think)
not sure it's possible to sort or reorder them
units? please explain, but in case you need quantities there is a specific set for that but need to see your elements first
about units:
I also included some screenshot from the LOI Tool BIMQ to showing the unit selection UI showing the two unit types I know of IFC has:
Datatypen and Einheitentypen (sorry for the german words - I dont know the tech translation so I kept it as it is in the UI).
Project Setup > Property Set Templates was a good tip ... although I dont understand yet the exact logic behind it but I guess I have to sleep over it :D
thanks a lot.
I opened your model, it's IFC4, since you work with railway track (me too) maybe IFC 4x3 could be better, there you have specific spatial elements (IfcRailway) and element classes like IfcCourse.BALLASTBED (your Oberbauschotter?) or IfcRail.RAIL for instance.
by using Blender Quantity Take off (QTO) engine you can easily get your quantities accordingly and compliant with IFC Qto, like
all sleepers (IfcTrackElement.SLEEPER) and rails are IfcBuildingElementProxy, they do not have a type, did you try to use Bonsai to model it?
The non-templated property sets use inference of what type the property based on what you put in the value field. By default it is IFCLABEL, if its an integer it's IFCINTEGER, a decimal is IFCREAL, and so on. Not sure it can infer all types, which is part of why it is better to use proper templates where you can select the exact type you want.
As far as I'm aware the units will be whatever the project is setup with:
@steverugi i think this is globally for the project, but I'd like to define it for every property seperatly. Like the example in the IfcOpenShell docs below ... but reading it to the end now I see that this function can't overide units for properties at the moment:
@steverugi said:
I opened your model, it's IFC4, since you work with railway track (me too) maybe IFC 4x3 could be better, there you have specific spatial elements (IfcRailway) and element classes like IfcCourse.BALLASTBED (your Oberbauschotter?) or IfcRail.RAIL for instance.
by using Blender Quantity Take off (QTO) engine you can easily get your quantities accordingly and compliant with IFC Qto, like
all sleepers (IfcTrackElement.SLEEPER) and rails are IfcBuildingElementProxy, they do not have a type, did you try to use Bonsai to model it?
IfcCourse.BALLASTBED = Oberbauschotter, yes
How did you change to IFC4x3?
Our engineers use ProVI, an addon for BricsCAD / Autocad. a very very very strong tool for rail infrastructure here in DACH region, BUT it lacks a huge part in openBIM features, like all is IfcBuildingElementProxy, no GUIDs (change with every export because it is highly parametric, no IfcElementAssembly,etc.), all data-editing must be done after IFC export. some use simpleBIM, Desite or other tools.
I am curious how far blender can be used to enhance these IFCs (or - my hidden agenda ;) - is to find out to what extend rail infrastructure can be done in Blender / Bonsai completely)
yes, that seems like it - we have similar situation - we plan to use IFC to hand over quadrillions of property data to our rail infrastructure maintenance system - and therefor we want to define as soon as possible in the process what unit_type and each property has.
thanks!
I am curious how far blender can be used to enhance these IFCs (or - my hidden agenda ;) - is to find out to what extend rail infrastructure can be done in Blender / Bonsai completely)
To the best of my knowledge as of now Bonsai cannot be used at the same level as, for instance, Civil3D for alignment and profile, generation of sections, volume calculation and so on, there is some ongoing development but it's a work in progress still.
If you need to get familiar with openBIM in your workflow my impression is that Bonsai is the best free open source tool available.
From the little I know about other software once you need to step out of their cage is a real pain, and quite expensive to use them in the first place.
I mainly use Bonsai to convert delivered 2D drawings of bridges, culverts, station buildings, canopies, etc to IFC4x3 models for quantity extraction, it works like a charm and I found it an excellent training ground to understand and implement IFC.
I know other railway people in a similar situation, we should team up :)
@Florian
very well, we can start here and see if somebody else is available or interested
Where I work QGIS is the tool to convert longitudinal and lateral infraworks designed in Civil3D (rail tracks, drains, roads, 2D representations), and Bonsai/BIM for vertical works (stations, culverts, bridges).
It was started two/three years ago for quantity takeoff but was gradually implemented in presentations and analysis (in conjunction with topography, hydraulic and geotechnical departments), currently we are experimenting some threejs stuff for interactive documentation.
IFC 4x3add2 is the way to go, no doubt, we use similar attribute/property information structure in our GIS geopackages too, it has been a lot of trial-error but so far so good.
My dream is to expand the use of Bonsai as it grows into alignment and other sectors but I feel the GIS interaction will be there for some time
We feel on a lot of topics that BIM comes from classic vertical works. I dont know whether software devs see the need to catch up with BIM for infra? Our external engineers use ProVi for example for track design. Amazing tool for doing that engineering job! BUT, in BIM Workflow it lacks the basic capabilities (also caused by the logic of how that tools works etc.) A lot of time is needed to coordinate and streamline workflows that are caused be software's uncapabilities to work with IFC data.
In a nutshell - for me - tools like Bonsai are lacking discipline specific features - and discipline specifc tools are lacking of IFC specific features. (IFC meaning more BIM workflows etc). The quesiton is what is easier to develop? I know that question is oversimplifieing. ;)
We feel on a lot of topics that BIM comes from classic vertical works. I dont know whether software devs see the need to catch up with BIM for infra? Our external engineers use ProVi for example for track design. Amazing tool for doing that engineering job! BUT, in BIM Workflow it lacks the basic capabilities (also caused by the logic of how that tools works etc.) A lot of time is needed to coordinate and streamline workflows that are caused be software's uncapabilities to work with IFC data.
In a nutshell - for me - tools like Bonsai are lacking discipline specific features - and discipline specifc tools are lacking of IFC specific features. (IFC meaning more BIM workflows etc). The quesiton is what is easier to develop? I know that question is oversimplifieing. ;)
I'm talking from my direct experience
Bonsai is a super tool for IFC (modeling, editing attributes/properties, quantities, validation among many) and the combination with Blender offers a huge potential.
Is it a full-fledge piece of software to handle large projects? no, it isn't but it might become in the future.
For vertical elements Bonsai is already at a point where you can have fully IFC compliant buildings, bridges, culverts for instance
It lacks MEP and alignment-related features at professional level but a lot is going on, if you consider what Bonsai has become during the past two/three years you'd understand my point, the development and contributors team has performed miracles, literally.
Data extraction (quantities & properties) is quite straightforward, I trained a junior here in a couple of weeks
I would encourage you to delve into it to test it properly, especially the IFC authoring part (no export craziness)
Cheers
If you're forming a railway group, I'd love to join!
We use ISTRAM software to define railway routes and even tunnels with bolts, micropile umbrellas, supports, and linings.
We use Bonsai to restructure IFC and modify psET (for more information, please see point 2.3: https://wiki.osarch.org/index.php?title=BlenderBIM_Add-on/BonsaiBIM_Features_Guide). And to edit IFC and make modifications to them.
If you're looking to move from a lower IFC to another, you've got options! One of them is to edit the IFC as text and enter the following: Go ahead and replace "FILE_SCHEMA('IFC4')" with "FILE_SCHEMA('IFC4X3_ADD2')" to make things easier.
ISTRAM ... I wrote them if they would be ok to show us their software for a some 30-45min.
Thanks for the osarch link. I really have to get deeper into Bonsai, also after the comments from @steverugi ;)
If you're forming a railway group, I'd love to join!
super
If you're looking to move from a lower IFC to another, you've got options! One of them is to edit the IFC as text and enter the following: Go ahead and replace "FILE_SCHEMA('IFC4')" with "FILE_SCHEMA('IFC4X3_ADD2')" to make things easier.
I wouldn't personally recommend text editing the .ifc file since you can eaily convert it directly in Bonsai from 2x3 to 4 and from 4 to 4x3 in the open panel
I'm Marcos, I'm writing to you from ISTRAM Spain, we can organise a live streaming demo to show ISTRAM tools for Railways and BIM. You can email me at [email protected] and we can organise it.
Best regards.
If you're forming a railway group, I'd love to join!
super
If you're looking to move from a lower IFC to another, you've got options! One of them is to edit the IFC as text and enter the following: Go ahead and replace "FILE_SCHEMA('IFC4')" with "FILE_SCHEMA('IFC4X3_ADD2')" to make things easier.
I wouldn't personally recommend text editing the .ifc file since you can eaily convert it directly in Bonsai from 2x3 to 4 and from 4 to 4x3 in the open panel
What does Blender do when you press that update to ifc4x3? Is it "just" changing the line @BimETS mentioned with the next save of the IFC file?
What does Blender do when you press that update to ifc4x3? Is it "just" changing the line @BimETS mentioned with the next save of the IFC file?
it creates an upgraded version of your file in the same folder, maybe limited to the text change but I suspect something more than that
out of curiosity you could have both files compared to see the differences (Text Compare online for instance)
Comments
@FlorianWra
can you share your .ifc?
to edit properties you can do it from the Project Setup > Property Set Templates (I think)
not sure it's possible to sort or reorder them
units? please explain, but in case you need quantities there is a specific set for that but need to see your elements first
here the ifc - Test_04
about units:




I also included some screenshot from the LOI Tool BIMQ to showing the unit selection UI showing the two unit types I know of IFC has:
Datatypen and Einheitentypen (sorry for the german words - I dont know the tech translation so I kept it as it is in the UI).
I want to define that the new Property "Länge_RC2" is in IfcLengthMeasure and in m (Meter) not km or something else.
Project Setup > Property Set Templates was a good tip ... although I dont understand yet the exact logic behind it but I guess I have to sleep over it :D
thanks a lot.
wow, that tool really has potential!
I opened your model, it's IFC4, since you work with railway track (me too) maybe IFC 4x3 could be better, there you have specific spatial elements (IfcRailway) and element classes like IfcCourse.BALLASTBED (your Oberbauschotter?) or IfcRail.RAIL for instance.
by using Blender Quantity Take off (QTO) engine you can easily get your quantities accordingly and compliant with IFC Qto, like
all sleepers (IfcTrackElement.SLEEPER) and rails are IfcBuildingElementProxy, they do not have a type, did you try to use Bonsai to model it?
The non-templated property sets use inference of what type the property based on what you put in the value field. By default it is IFCLABEL, if its an integer it's IFCINTEGER, a decimal is IFCREAL, and so on. Not sure it can infer all types, which is part of why it is better to use proper templates where you can select the exact type you want.

As far as I'm aware the units will be whatever the project is setup with:
@Florian
I played a bit with your model, converted to IFC4x3, assigned classes and spatial elements
and extracted some quantities
I also used profiles for rail and sleeper creating their own IfcRailType/rail and IfcTrackElement/sleeper
7.88MB now vs original 42.9MB, I didn't use IfcElementAssembly.TRACKPANEL or array, it could have probably saved more space
are you looking for this function: https://docs.ifcopenshell.org/autoapi/ifcopenshell/api/unit/assign_unit/index.html
I think there is no UI in bonsai yet
I had the same question ... https://community.osarch.org/discussion/comment/25069#Comment_25069
@Rio
to set units? maybe this? (you need to turn on the rhombus/diamond on the right to make it default)
@steverugi i think this is globally for the project, but I'd like to define it for every property seperatly. Like the example in the IfcOpenShell docs below ... but reading it to the end now I see that this function can't overide units for properties at the moment:
IfcCourse.BALLASTBED = Oberbauschotter, yes
How did you change to IFC4x3?
Our engineers use ProVI, an addon for BricsCAD / Autocad. a very very very strong tool for rail infrastructure here in DACH region, BUT it lacks a huge part in openBIM features, like all is IfcBuildingElementProxy, no GUIDs (change with every export because it is highly parametric, no IfcElementAssembly,etc.), all data-editing must be done after IFC export. some use simpleBIM, Desite or other tools.
I am curious how far blender can be used to enhance these IFCs (or - my hidden agenda ;) - is to find out to what extend rail infrastructure can be done in Blender / Bonsai completely)
thanks for your reply!
yes, that seems like it - we have similar situation - we plan to use IFC to hand over quadrillions of property data to our rail infrastructure maintenance system - and therefor we want to define as soon as possible in the process what unit_type and each property has.
thanks!
@FlorianWra
to create a new IFC4X3 model:

to update an IFC4 model to IFC4X3:

To the best of my knowledge as of now Bonsai cannot be used at the same level as, for instance, Civil3D for alignment and profile, generation of sections, volume calculation and so on, there is some ongoing development but it's a work in progress still.
If you need to get familiar with openBIM in your workflow my impression is that Bonsai is the best free open source tool available.
From the little I know about other software once you need to step out of their cage is a real pain, and quite expensive to use them in the first place.
I mainly use Bonsai to convert delivered 2D drawings of bridges, culverts, station buildings, canopies, etc to IFC4x3 models for quantity extraction, it works like a charm and I found it an excellent training ground to understand and implement IFC.
I know other railway people in a similar situation, we should team up :)
Railway people? I am in!!
Thanks for your reply and screenshots - already using that info for my work!
How do you want to team up? Looking forward!
@Florian
very well, we can start here and see if somebody else is available or interested
Where I work QGIS is the tool to convert longitudinal and lateral infraworks designed in Civil3D (rail tracks, drains, roads, 2D representations), and Bonsai/BIM for vertical works (stations, culverts, bridges).
It was started two/three years ago for quantity takeoff but was gradually implemented in presentations and analysis (in conjunction with topography, hydraulic and geotechnical departments), currently we are experimenting some threejs stuff for interactive documentation.
IFC 4x3add2 is the way to go, no doubt, we use similar attribute/property information structure in our GIS geopackages too, it has been a lot of trial-error but so far so good.
My dream is to expand the use of Bonsai as it grows into alignment and other sectors but I feel the GIS interaction will be there for some time
cheers
We feel on a lot of topics that BIM comes from classic vertical works. I dont know whether software devs see the need to catch up with BIM for infra? Our external engineers use ProVi for example for track design. Amazing tool for doing that engineering job! BUT, in BIM Workflow it lacks the basic capabilities (also caused by the logic of how that tools works etc.) A lot of time is needed to coordinate and streamline workflows that are caused be software's uncapabilities to work with IFC data.
In a nutshell - for me - tools like Bonsai are lacking discipline specific features - and discipline specifc tools are lacking of IFC specific features. (IFC meaning more BIM workflows etc). The quesiton is what is easier to develop? I know that question is oversimplifieing. ;)
@Florian
I'm talking from my direct experience
Bonsai is a super tool for IFC (modeling, editing attributes/properties, quantities, validation among many) and the combination with Blender offers a huge potential.
Is it a full-fledge piece of software to handle large projects? no, it isn't but it might become in the future.
For vertical elements Bonsai is already at a point where you can have fully IFC compliant buildings, bridges, culverts for instance
It lacks MEP and alignment-related features at professional level but a lot is going on, if you consider what Bonsai has become during the past two/three years you'd understand my point, the development and contributors team has performed miracles, literally.
Data extraction (quantities & properties) is quite straightforward, I trained a junior here in a couple of weeks
I would encourage you to delve into it to test it properly, especially the IFC authoring part (no export craziness)
Cheers
If you're forming a railway group, I'd love to join!
We use ISTRAM software to define railway routes and even tunnels with bolts, micropile umbrellas, supports, and linings.
We use Bonsai to restructure IFC and modify psET (for more information, please see point 2.3: https://wiki.osarch.org/index.php?title=BlenderBIM_Add-on/BonsaiBIM_Features_Guide). And to edit IFC and make modifications to them.
If you're looking to move from a lower IFC to another, you've got options! One of them is to edit the IFC as text and enter the following: Go ahead and replace "FILE_SCHEMA('IFC4')" with "FILE_SCHEMA('IFC4X3_ADD2')" to make things easier.
ISTRAM ... I wrote them if they would be ok to show us their software for a some 30-45min.
Thanks for the osarch link. I really have to get deeper into Bonsai, also after the comments from @steverugi ;)
super
I wouldn't personally recommend text editing the .ifc file since you can eaily convert it directly in Bonsai from 2x3 to 4 and from 4 to 4x3 in the open panel
I'm Marcos, I'm writing to you from ISTRAM Spain, we can organise a live streaming demo to show ISTRAM tools for Railways and BIM. You can email me at [email protected] and we can organise it.
Best regards.
What does Blender do when you press that update to ifc4x3? Is it "just" changing the line @BimETS mentioned with the next save of the IFC file?
@Florian
it creates an upgraded version of your file in the same folder, maybe limited to the text change but I suspect something more than that
out of curiosity you could have both files compared to see the differences (Text Compare online for instance)
Indeed, @steverugi is right, quite a few lines change.
