Extract bolt pretension results

Pernelle Marone-Hitz
Member, Moderator, Employee Posts: 873
✭✭✭✭
in Structures
How to extract bolt pretension force reaction, adjustment probe results for all the bolt pretensions results in a excel file?
Tagged:
0
Answers
-
Below code can be adapted:
load=ExtAPI.DataModel.GetObjectsByType(DataModelObjectCategory.BoltPretensionProbe) count=load.Count Name =[] force=[] Adjust=[] filepath=r"D:\boltpretensionforceinfo.csv" for i in range(0,count): press=load[i].WorkingLoad force.append(str(press).split()[0]) Name.append(load[i].Name) Adjust.append(str(load[i].Adjustment)[0]) print("Bolt pretension reaction probe report Generated") f=open(filepath,"w") f.write("Bolt Pretension Probe Name"+ ","+"BlotPretension Load"+ ","+"Bolt Pretension Adjustment"+"\n") for i in range(0,count): f.write(str(Name[i])+","+str(force[i])+","+str(Adjust[i])+"\n") f.close()
0 -
If you need time history values for pretension or adjustment you can use DPF. The pilot node of the bolt pretension load can be found from the load object.
On this node, the reaction force in X will be the working load and the UX displacement will be the adjustment.
Like with all things DPF, set the time scoping of the operators to get multiple time point results.1