I’m trying to understand and get to work the script opposite. I should say at the start my programming experience is pretty much limited to Grasshopper so I’m a little over my head.
From what I understand reading the script (and please correct me) I’m declaring 2 strings (beams and force) and two integers (axial and moment). Then I’m ‘getting’ the analytical model from the first input (beams) and assembling new line loads.
Where it’s falling down (and this is a script that was apparently working when it was shared on the forum) is
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 24, in
TypeError: iteration over non-sequence of type FamilyInstance
Line 24 is
an_model = [b.GetAnalyticalModel() for b in beams]
My googling hasn’t suggested anything that I’ve understood, is anyone able to clarify for me?