internal static IfcMaterialRelationship Parse(string strDef, Schema schema) { IfcMaterialRelationship m = new IfcMaterialRelationship(); int ipos = 0; parseFields(m, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return m; }
internal static void parseFields(IfcMaterialRelationship m, List<string> arrFields, ref int ipos, Schema schema) { IfcResourceLevelRelationship.parseFields(m, arrFields, ref ipos,schema); m.mRelatingMaterial = ParserSTEP.ParseLink(arrFields[ipos++]); m.mRelatedMaterials = ParserSTEP.SplitListLinks(arrFields[ipos++]); m.mExpression = arrFields[ipos++].Replace("'", ""); }
internal IfcMaterialRelationship(IfcMaterialRelationship i) : base(i) { mRelatingMaterial = i.mRelatingMaterial; mRelatedMaterials.AddRange(i.mRelatedMaterials); mExpression = i.mExpression; }