GeometryGym.Ifc.IfcStructuralAction.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);
			if (mDestabilizingLoad == IfcLogicalEnum.UNKNOWN)
			{
				if (mDatabase.Release == ReleaseVersion.IFC2x3)
					obj["DestabilizingLoad"] = false;
			}
			else
				obj["DestabilizingLoad"] = mDestabilizingLoad == IfcLogicalEnum.TRUE;
			if (mCausedBy > 0)
				obj["CausedBy"] = CausedBy.getJson(this, processed);
		}
	}
IfcStructuralAction