Closed Ferbeas closed 3 years ago
When you create a new instance of a model entity it needs to be a class not an interface. IIfcRelContainedInSpatialStructure
is an interface. Take the initial 'I' off and import the correct namespace (depending on whether you want IFC2x3 or Ifc4)
Thanks @andyward, problem solved.
Hello,
I want to create the relationship between an IfcSpace and an IfcBuidingElementProxy. According to this the IfcSpace connects with an IfcProduct through the IIfcRelContainedInSpatialStructure relationship.
This is the error it gives
How to properly use the IIfcRelContainedInSpatialStructure relationship?