Hi everyone I'm trying to instantiate a time series with IfcOpenShell for my research, I assign all the necessary attributes by consulting BuildingSmart but the terminal gives me an error that I don't find sense. It tells me that it expects an "AggregateofEnityInstance" instead of simple values, can you tell me why?
Thanks for your help
Hi everyone I'm trying to instantiate a time series with IfcOpenShell for my research, I assign all the necessary attributes by consulting BuildingSmart but the terminal gives me an error that I don't find sense. It tells me that it expects an "AggregateofEnityInstance" instead of simple values, can you tell me why?
Thanks for your help
Terminal:
the last attribute must be an IfcValue is it correct that it is simply a list?
Last edit: Simone Maioli 2021-12-24
As is often the case in IFC, there are a couple more indirection to get to the actual data.
First you need to create a IfcTimeSeriesValues, which contains a list of IfcValue, so you also need to provide a concrete type for your values.
This should work:
thanks it works! I have yet to get into the IFC mindset