public override string GetStepParameters() { var parameters = new List <string>(); parameters.Add(GlobalId != null ? GlobalId.ToStepValue() : "$"); parameters.Add(OwnerHistory != null ? OwnerHistory.ToStepValue() : "$"); parameters.Add(Name != null ? Name.ToStepValue() : "$"); parameters.Add(Description != null ? Description.ToStepValue() : "$"); parameters.Add(RelatedPropertySets != null ? RelatedPropertySets.ToStepValue() : "$"); parameters.Add(RelatingTemplate != null ? RelatingTemplate.ToStepValue() : "$"); return(string.Join(", ", parameters.ToArray())); }
internal override void parseJObject(JObject obj) { base.parseJObject(obj); JArray array = obj.GetValue("RelatedPropertySets", StringComparison.InvariantCultureIgnoreCase) as JArray; if (array != null) { RelatedPropertySets.AddRange(mDatabase.extractJArray <IfcPropertySetDefinition>(array)); } JObject jobj = obj.GetValue("RelatingTemplate", StringComparison.InvariantCultureIgnoreCase) as JObject; if (jobj != null) { RelatingTemplate = extractObject <IfcPropertySetTemplate>(jobj); } }