protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
        {
            base.setJSON(obj, host, options);
            IfcDimensionalExponents exponents = Dimensions;

            if (exponents != null)
            {
                obj["Dimensions"] = exponents.getJson(this, options);
            }
            obj["UnitType"] = mUnitType.ToString();
        }
Beispiel #2
0
        protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed)
        {
            base.setJSON(obj, host, processed);
            IfcDimensionalExponents exponents = Dimensions;

            if (exponents != null)
            {
                obj["Dimensions"] = exponents.getJson(this, processed);
            }
            obj["UnitType"] = mUnitType.ToString();
        }