private void writeRebarDesignProps(XmlWriter xml, Material.Material mat)
{
MaterialDesignProps dProps = mat.DesignProperties;
if (dProps is RebarDesignProps)
{
RebarDesignProps props = (RebarDesignProps)dProps;
xml.WriteStartElement("Material");
xml.WriteAttributeString("Material", mat.Name);
xml.WriteAttributeString("Fy", props.Fy.ToString());
xml.WriteAttributeString("Fu", props.Fu.ToString());
xml.WriteEndElement();
}
}