private string getLineSection(LineElement l) { if (l.Properties is StraightFrameProps) { Model.Section.FrameSection sec = ((StraightFrameProps)l.Properties).Section; return "\n" + sec.Description; } return string.Empty; }