protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
if (mPredefinedType != IfcAnalysisModelTypeEnum.NOTDEFINED)
obj["PredefinedType"] = mPredefinedType.ToString();
if (mOrientationOf2DPlane > 0)
obj["OrientationOf2DPlane"] = OrientationOf2DPlane.getJson(this, processed);
if (mLoadedBy.Count > 0)
obj["LoadedBy"] = new JArray(mLoadedBy.ConvertAll(x => mDatabase[x].getJson(this, processed)));
if (mHasResults.Count > 0)
obj["HasResults"] = new JArray(mHasResults.ConvertAll(x => mDatabase[x].getJson(this, processed)));
if (mSharedPlacement > 0)
obj["SharedPlacement"] = SharedPlacement.getJson(this, processed);
}
}