Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Dim objOpenSTAAD
'Load your STAAD file - make sure you have successfully run the file
'Find out how many primary load cases and load combinations you have
objOpenSTAAD.GetPrimaryLoadCaseCount PrimaryLCs
objOpenSTAAD.GetLoadCombinationCaseCount LoadCombs
Cells(3, 10).Value = LoadCombs
'Iterate through your load sets to find the results for each load case
LoadPrevious = 0
For i = 1 To TotalLoads
For j = 0 To 5
Next
LoadPrevious = LoadNext
Next
'Write the appropriate dimensions (for the beam) in the correct cells
Sheets("Concrete").Select
'Depth
'Width
Cells(31, 7).Value = Width
objOpenSTAAD.CloseSTAADFile
End Sub