GeometryGym.Ifc.IfcRelDefinesByTemplate.setJSON C# (CSharp) Méthode

setJSON() protected méthode

protected setJSON ( Newtonsoft.Json.Linq.JObject obj, BaseClassIfc host, HashSet processed ) : void
obj Newtonsoft.Json.Linq.JObject
host BaseClassIfc
processed HashSet
Résultat void
		protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
		{
			base.setJSON(obj, host, processed);
			obj["RelatingTemplate"] = RelatingTemplate.getJson(this, processed);
			//List<IfcObject> relatedObjects = RelatedObjects;
			//JArray array = new JArray();
			//foreach (IfcObject obj in relatedObjects)
			//	array.Add(obj.Index);
			//obj["RelatedObjects"] = array;
		}
	}
IfcRelDefinesByTemplate