示例#1
0
		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; }
示例#2
0
		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("'", "");
		}
示例#3
0
		internal IfcMaterialRelationship(IfcMaterialRelationship i) : base(i) { mRelatingMaterial = i.mRelatingMaterial; mRelatedMaterials.AddRange(i.mRelatedMaterials); mExpression = i.mExpression; }