Esempio n. 1
0
 protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
 {
     base.setJSON(obj, host, options);
     obj["RelatingType"] = RelatingType.getJson(this, options);
     //List<IfcObject> relatedObjects = RelatedObjects;
     //JArray array = new JArray();
     //foreach (IfcObject obj in relatedObjects)
     //	array.Add(obj.Index);
     //obj["RelatedObjects"] = array;
 }
Esempio n. 2
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     xml.AppendChild(RelatingType.GetXML(xml.OwnerDocument, "RelatingType", this, processed));
 }