i am Using the inserCopy Function. But i want to use it deeper than the shown example. In the semanticFIlter it just copy types of "isdefinedby". I just want wo copy specific "PropertySets" und specific "Properties". Something like:
//only bring over IsDefinedBy and IsTypedBy inverse relationships which will take over all properties and types
if (property.EntityAttribute.Order < 0 && !(
property.PropertyInfo.Name == nameof(IIfcProduct.IsDefinedBy) ||
property.PropertyInfo.Name == nameof(IIfcProduct.IsTypedBy)
))
return null;
Hey,
i am Using the inserCopy Function. But i want to use it deeper than the shown example. In the semanticFIlter it just copy types of "isdefinedby". I just want wo copy specific "PropertySets" und specific "Properties". Something like:
if(Pset01 == "Pset_WallCommon" && properties01 == "ThermalTransmittance) { insertCopy(); }
so it should be somewhere here
//only bring over IsDefinedBy and IsTypedBy inverse relationships which will take over all properties and types if (property.EntityAttribute.Order < 0 && !( property.PropertyInfo.Name == nameof(IIfcProduct.IsDefinedBy) || property.PropertyInfo.Name == nameof(IIfcProduct.IsTypedBy) )) return null;
Thanks