protected override IfcMaterialSelect GetMaterialSelect()
{
IfcMaterialSelect m = base.GetMaterialSelect();
if (m != null)
return m;
if (IsTypedBy != null)
{
IfcElementType t = RelatingType as IfcElementType;
if (t != null)
return t.MaterialSelect;
}
return null;
}