revit-ifc icon indicating copy to clipboard operation
revit-ifc copied to clipboard

Wish: Export calculated and combined schedule fields to properties

Open eibre opened this issue 6 years ago • 7 comments

Schedules with calculated or/and combined fields: image

Wish that it can look like this in Solibri: image

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)

eibre avatar Oct 26 '18 07:10 eibre

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:

  1. Define IFC property set using text file that will be loaded in the export process image
  2. 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)
  3. Define Combine as a parameter
    image
  4. Use a "formula" for the value for "Combined" property image 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.

WawanSolihin avatar Oct 27 '18 13:10 WawanSolihin

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}

eibre avatar Oct 27 '18 20:10 eibre

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..

WawanSolihin avatar Oct 28 '18 06:10 WawanSolihin

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 :)

tsolsen avatar Oct 29 '18 13:10 tsolsen

@WawanSolihin do you know the status on this subject?

GSteal avatar Jul 09 '20 09:07 GSteal

@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.

WawanSolihin avatar Jul 09 '20 16:07 WawanSolihin

Are there any updates on this? It would be really useful.

thumDer avatar Feb 16 '24 15:02 thumDer