revit-ifc
revit-ifc copied to clipboard
Wish: Export calculated and combined schedule fields to properties
Schedules with calculated or/and combined fields:
Wish that it can look like this in Solibri:
Use cases:
- Almost all kinds of classification codes are combined of several parameters.
- We usually want to add a prefix to Rebar Numbers to make a unique position number.
- Calculated weights of elements (lifting/transport) as properties. (Revit usually have Volume and Unit Weight as available fields)
There is a way to do this, but it will involve a few steps using the User-defined IFC propertyset and parameter formula. The steps are as follow:
- Define IFC property set using text file that will be loaded in the export process
- Define the text file. Below is the example: PropertySet: MyPset_Space I IfcSpace DischargeLocation Label ProjectDevelopmentType Label SGPUBPset_Building.ProjectDevelopmentType Combined Label Note that "Combined" is defined as a property in the above property set as Label property (text). The example above assigs the propertyset to IfcSpace. You may change it to any object (or set of objects separated by coma)
- Define Combine as a parameter
- Use a "formula" for the value for "Combined" property
Detailed description to use the formula can be found here: https://sourceforge.net/p/ifcexporter/wiki/Notes%20on%20parameter%20expression/ You may also define the value of that formula in a global parameter (in the Value column) and bind the global parameter to Combined parameter.
Thank you @WawanSolihin, this helps a lot!
We still manually need to check that all newly created instances are given the correct formula before export though. Would it be possible to have such formula in the property-set text file? Is it critical that one parameter exists in Revit for each property in IFC? Maybe the txt-file could look something like this:
# Format:
# PropertySet: <Pset Name> I[nstance]/T[ype] <element list separated by ','>
# <Property Name 1> <Data type> <[opt] Revit parameter name, if different from IFC> <[opt] {formula}>
PropertySet: Rebar Schedule I IfcReinforcingBar
Pos. nr. Text {Partition + Rebar Number}
Thank you Einar Raknes for your suggestion. Yes it is one thing that we are considering to add into this feature. But it may take time before it becomes reality. Stay tuned..
I'm with @eibre here. The feature is super useful, but first them we can truly automate the setup, both for instance and type. Looking forward to have that possibility some time :)
@WawanSolihin do you know the status on this subject?
@GSteal , I am sorry there is no progress yet as we are focusing on many things at the moment especially the IFC4 RV Certification and updates to the open source releases. I have looked at the possibility as @eibre suggested and I think it is feasible, but it involves deeper change as the current implementation relies on some other things that cannot be easily replaced. I will update the forum if we have an update on this.
Are there any updates on this? It would be really useful.