See the tutorial, You can learn a lot there:
'Generate new load case.
Dim cas As IRobotSimpleCase
Set cas = robapp.Project.Structure.Cases.CreateSimple(robapp.Project.Structure.Cases.FreeNumber, _
"Case_1", I_CN_EXPLOATATION, I_CAT_STATIC_LINEAR)
' Define load record types.
cas.Records.New I_LRT_NODE_FORCE
cas.Records.New I_LRT_BAR_UNIFORM
' Get the first created load record
Dim rec As IRobotLoadRecord
Set rec = cas.Records.Get(1)
'Define the list of objects to which load will be applied.
rec.Objects.FromText "1 2"
'Definie the operation direction and load value.
rec.SetValue I_NFRV_FX, 50000
'Define ALFA angle at which concentrated force acts in the structure node.
rec.SetValue I_NFRV_ALPHA, 0.52
'Get the second created load record.
Set rec = cas.Records.Get(2)
'Define the list of objects to which load will be applied.
rec.Objects.FromText "2do4"
'Define load direction and value.
rec.SetValue I_BURV_PZ, -110000
'Set auxilliary load parameters.
rec.SetValue I_BURV_LOCAL, True
rec.SetValue I_BURV_PROJECTION, True