The FrameOfReference object is a read only object, used to get the properties of the Frame of Reference used in the design. The five properties will return the values shown in the Frame of Reference dialog within Maxsurf (Data | Frame of Reference . . ) and the midships location.

Figure 3 The Frame of Reference Object Hierarchy
The code to access these objects and methods is:
i = msApp.Design.FrameOfReference.AftPerp
j = msApp.Design.FrameOfReference.DatumWL
See Also:
Frame of Reference Object on page 39