GeometryGym.Ifc.IfcRelDefinesByType.setJSON C# (CSharp) Method

setJSON() protected method

protected setJSON ( JObject obj, BaseClassIfc host, HashSet processed ) : void
obj JObject
host BaseClassIfc
processed HashSet
return void
		protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
		{
			base.setJSON(obj, host, processed);
			obj["RelatingType"] = RelatingType.getJson(this, processed);
			//List<IfcObject> relatedObjects = RelatedObjects;
			//JArray array = new JArray();
			//foreach (IfcObject obj in relatedObjects)
			//	array.Add(obj.Index);
			//obj["RelatedObjects"] = array;
		}
	}
IfcRelDefinesByType