Set Eccentricity Using Local System
Scripts on this page are available here:
BeamEccentricityUsingLocalSystem.js
The example script BeamEccentricityUsingLocalSystem.js is showing how to set the eccentricity for a beam in the beam’s local coordinates:

Fig. 25 In the example the end 1 of beam Bm1 is offset 1 m in the z-direction in the beam’s local coordinate system. In this case this corresponds to 1 m in the y-direction of the global coordinate system.