Beispiel #1
0
        internal override void parseJObject(JObject obj)
        {
            base.parseJObject(obj);
            JObject jobj = obj.GetValue("RelatingConstraint", StringComparison.InvariantCultureIgnoreCase) as JObject;

            if (jobj != null)
            {
                RelatingConstraint = mDatabase.ParseJObject <IfcConstraint>(jobj);
            }
            RelatedResourceObjects.AddRange(mDatabase.extractJArray <IfcResourceObjectSelect>(obj.GetValue("RelatedResourceObjects", StringComparison.InvariantCultureIgnoreCase) as JArray));
        }
 internal override void parseJObject(JObject obj)
 {
     base.parseJObject(obj);
     RelatingReference = mDatabase.ParseJObject <IfcExternalReference>(obj.GetValue("RelatingReference", StringComparison.InvariantCultureIgnoreCase) as JObject);
     RelatedResourceObjects.AddRange(mDatabase.extractJArray <IfcResourceObjectSelect>(obj.GetValue("RelatedResourceObjects", StringComparison.InvariantCultureIgnoreCase) as JArray));
 }