The properties of the load objects that are real number values can sometimes be specified using a string expression. This can occur when the value is set as a variant value such as when setting the property of a list object or as a parameter in the AddLoads methods. The expressions are evaluated using the same expression handling supported with many of Multiframes dialogs. For the nodal loads objects, the expression evaluation will support the additional variables describing the location of a node. Similarly, the element load objects can evaluate expressions containing variables describing the properties of the element to which they are applied. Some examples of how these expressions may be used are as follows
Dim mylist as New Multiframe.NodeLoadList
With myFrame.LoadCases(1).NodeLoads
‘Add load proportional to height of
node
Set mylist =
.AddLoads(Array(1,4,7,10),mfDOFx,”2.5*Y”))
End With
’Set magnitude to be proportion to square root of nodes height
mylist.Value = ” 2.5*sqrt(Y)”
Refer to the Multiframe User Manual for a description of the expressions and variables that can be evaluated by Multiframe.