Not sure, if i should open this topic here or over at https://github.com/buildingSMART/IfcDoc. I start here.
An IfcPropertySet can be related to its IfcPropertySetTemplate through the IfcRelDefinesByTemplate.
How can the property itself be related to its property template?
E.g. IfcPropertySingleValue => IfcSimplePropertyTemplate
Should it be done by name
IfcPropertySingleValue.Name = IfcSimplePropertyTemplate.name
or by Id
IfcPropertySingleValue.Ref = IfcSimplePropertyTemplate.Id
Thanks for clarification.