Isn’t this the same as your previous topic? If so please maintain that thread rather than starting duplicate ones: Line Load, Point Load API changes in REVIT 2025 - #17 by dweber12
Either way for more direct help you need to post a sample rvt (or indicate a simple thing to add in order to make the graph run in a Autodesk provided template), and your .dyn to reproduce the issue there so that others can reproduce and review. Currently you’re asking us to build both the .rvt and the .dyn. As an example if I wanted to build Python code to help you I’d have to understand how you generated those integers for IN[0]. And the lines for IN[1]. And the loads for IN[2]. And understand what the moment is for IN[3]. And so on. This turns what would be a 5 minute process to start helping you (download the files, open them, run the graph and start to edit) into a much longer process which can take hours (open Revit, guess at the model elements required to reproduce, guess at the Dynamo method(s) used to generate the inputs, attempt to run the code and hope we get your error).
By using a base template with just an Autodesk provided family instance or two and simplifying the incoming .dyn no IP is being uploaded so there are no concerns there.