The following is an example of a script that displays the results of section graphs for all cases in a single graph and outputs a CSV file.
# Output file path OutFileName = u"D:/Section.csv" app = designer.GetApplication() # Get the created section objSectionGraph = app.GetCurrentStudy().GetSectionGraph(u"Section Name") # Create a section graph objGraph = app.GetDataManager().CreateGraphModel(objSectionGraph.GetCaseDataSet(1)) # Combine section graphs into one for i in range(app.GetCurrentStudy().GetDesignTable().NumCases()): caseID = int(i)+1 objGraph.AddDataSet(objSectionGraph.GetCaseDataSet(caseID)) # Display graph objGraph.Show() # Exporting CSV file objGraph.WriteTable(OutFileName)


