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(RelatingSpace != null ? RelatingSpace.ToStepValue() : "$"); parameters.Add(RelatedBuildingElement != null ? RelatedBuildingElement.ToStepValue() : "$"); parameters.Add(ConnectionGeometry != null ? ConnectionGeometry.ToStepValue() : "$"); parameters.Add(PhysicalOrVirtualBoundary.ToStepValue()); parameters.Add(InternalOrExternalBoundary.ToStepValue()); return(string.Join(", ", parameters.ToArray())); }
internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed) { base.SetXML(xml, host, processed); xml.AppendChild(RelatedBuildingElement.GetXML(xml.OwnerDocument, "RelatedBuildingElement", this, processed)); }