Not sure when to use List types and getting empty output sections

Please reference the screenshot below. I’m getting some sections of output that should probably not exist. The project I’m working on is to import data from a RAM Structural Systems model to compare column locations and get size/force data into Revit.

Here’s the code for the node that gets the beam sizes, for instance:

protected override void SolveInstance(IGH_DataAccess DA)
{
RamDataAccess1 RAMDataAccess = new RAMDATAACCESSLib.RamDataAccess1();
RAMDATAACCESSLib.IDBIO1 IDBI = (RAMDATAACCESSLib.IDBIO1)
RAMDataAccess.GetInterfacePointerByEnum(EINTERFACES.IDBIO1_INT);
RAMDATAACCESSLib.IModel IModel = (RAMDATAACCESSLib.IModel)
RAMDataAccess.GetInterfacePointerByEnum(EINTERFACES.IModel_INT);
//OPEN
string FileName = null;
int In_Story_Count = 0;
if (!DA.GetData(“FileName”, ref FileName))
{
return;
}
if (FileName == null || FileName.Length == 0)
{
return;
}
if (!DA.GetData(“In_Story_Count”, ref In_Story_Count))
{
return;
}
if (In_Story_Count == 0)
{
return;
}
IDBI.LoadDataBase2(FileName, “1”);
IStories My_stories = IModel.GetStories();
int My_story_count = My_stories.GetCount();
IStory My_Story = My_stories.GetAt(In_Story_Count);
IBeams My_Beams = My_Story.GetBeams();
int Beam_Count = My_Beams.GetCount();
List ListLine = new List();
//create loop herenthru all count
//start…end…step
for (int i = 0; i < Beam_Count; i++)
{
string My_Beam_Size = My_Story.GetBeams().GetAt(i).strSectionLabel;
ListLine.Add(My_Beam_Size);
}
//CLOSE
IDBI.CloseDatabase();
DA.SetDataList(“BeamSize”, ListLine);
}