public override bool AddElement(IfcProduct s)
{
if (mIsDecomposedBy.Count == 0 || mIsDecomposedBy[0].mRelatedObjects.Count == 0)
{
IfcProduct product = mHost as IfcProduct;
if(product != null)
product.AddElement(this);
else
{
new IfcRelAggregates(mHost, this);
}
}
return base.AddElement(s);
}
}