private void readLines(XmlNode node)
{
LineElement line = new LineElement(new StraightFrameProps());
//Joint i = obj.I;
//Joint j = obj.J;
//// xml.WriteStartElement("Frame");
uint id = uint.Parse(readAttribute(node, "Frame", "0"));
int ji = int.Parse(readAttribute(node, "JointI", "0"));
int jj = int.Parse(readAttribute(node, "JointJ", "0"));
line.I = model.JointList[ji];
line.J = model.JointList[jj];
line.Id = id;
model.LineList.Add(line);
//readAttribute(node, "IsCurved", "No");
//readAttribute(node, "Length", obj.Length.ToString());
//readAttribute(node, "CentroidX", ((i.X + j.X) / 2.0F).ToString());
//readAttribute(node, "CentroidY", ((i.Y + j.Y) / 2.0F).ToString());
//readAttribute(node, "CentroidZ", ((i.Z + j.Z) / 2.0F).ToString());
}