hi @durducgeorge
That was the thrust of my advice in the previous message (loads, concrete strength, reinforcement, etc.).
For loads, you can specify the nodes in your structure that correspond to your foundation.
With ConcrFooting
'[...] Do something
.CreateFromNodes "1"
'[...] Do something
End With
for standalone mode, note that it is still possible to create two nodes, a support and a bar, and to apply loads.
Sub CreateColmunAndForces()
Dim RobApp As New RobotApplication
RobApp.Project.New(I_PT_FRAME_3D)
With RobApp.Project.Structure
With .Nodes
.Create(1, 0, 0, 0)
.Create(2, 0, 0, 1)
.Get(1).SetLabel(I_LT_SUPPORT, "Fixed")
End With
With .Bars
.Create(1, 1, 2)
.Get(1).SetLabel(I_LT_BAR_SECTION, "IPE 100")
End With
Dim DL As RobotSimpleCase, LL As RobotSimpleCase
Dim recDL As IRobotLoadRecord, recLL As IRobotLoadRecord
Dim Cnvt As Double : Cnvt = 1000
With .Cases
Dim Tv() As IRobotNodeForceRecordValues = {I_NFRV_FX, I_NFRV_FY, I_NFRV_FZ, I_NFRV_CX, I_NFRV_CY, I_NFRV_CZ}
Dim TbDL() As Double = {1.5, 1.5, -10, 0, 0, 0}
DL = .CreateSimple(1, "DL - Footing Permanent", I_CN_PERMANENT, I_CAT_STATIC_LINEAR)
recDL = DL.Records.Create(I_LRT_NODE_FORCE) : recDL.Objects.FromText("2")
For i = 0 To 5 : recDL.SetValue(Tv(i), TbDL(i) * Cnvt) : Next
Dim TbLL() As Double = {5, 5, -25, 0, 0, 0}
LL = .CreateSimple(2, "LL - Footing Live", I_CN_EXPLOATATION, I_CAT_STATIC_LINEAR)
recLL = LL.Records.Create(I_LRT_NODE_FORCE) : recLL.Objects.FromText("2")
For i = 0 To 5 : recLL.SetValue(Tv(i), TbLL(i) * Cnvt) : Next
End With
End With
RobApp.Project.CalcEngine.Calculate()
RobApp = Nothing
End Sub
It would also be beneficial to add a CreateLike and Get method for iterating over collections.
Unfortunately I can't help you more about foundations than to give you some additional ideas and advice on how to get over the programming hurdles.
In the event of an update planned by Autodesk with the idea of replacing the CEB justifications by EN 1992-4 for steel column bases, it would be useful if the dimensioning of foundation blocks in the new Eurocodes could provide the additional reinforcement required for the anchor rods.
Best Regards
Stéphane Kapetanovic
Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
