Robot Structural Analysis Dynamo -
import clr clr.AddReference('RobotOM') from RobotOM import * app = RobotApplicationClass() project = app.Project structure = project.Structure node = structure.Nodes.Create(2,3,0) node.Label = "MyNode" Create bar between node 1 and new node bar = structure.Bars.Create(1, node.Label) bar.SetLabel("MyBar") bar.SectionName = "HEB200" Run analysis app.Project.CalcEngine.Run() Get displacement at node 1 disp = structure.Results.Nodes.Displacement(1, 1) # 1st node, 1st case print("UX = ", disp.X)