遊戲年代 GOAL GOAL

 找回密碼
 立即註冊
搜索

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)

Archiver|小黑屋|遊戲年代 GOAL GOAL

GMT+8, 2026-3-9 07:57 , Processed in 0.022987 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表