xBimTeam / XbimMvdXML

This repository contains IO, functions and XplorerUI for the BuildingSMART mvdXML format. It supports validation of models.
9 stars 10 forks source link

Specific Properties #8

Open JosefUIBK opened 4 years ago

JosefUIBK commented 4 years ago

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

martin1cerny commented 4 years ago

I'm sorry but I'm not sure what your question is.