Markers

The Marker object allows access to the properties that would be accessed from the Markers window within Maxsurf, this object can be used to set or get the Position, Offset or Height of the markers, relating to the (x, y, z) coordinates each marker. The Marker Object can also obtain properties for the marker station, the surface it is associated with and the type of marker (its location within the surface).

 

The Objects Markers and MarkerList are used to refer to the Marker object in the same way as the Surfaces and Surface objects. It is not possible to use the Marker object directly through the interface. The Marker Object needs to be accessed either through the Markers or MarkerList objects so as to define which marker is being accessed.

 

Figure 7 Marker Object Hierarchy

 

The code to access these objects and methods is:

    i = msApp.Design.Markers(i).Height

    j = msApp.Design.Markers.Count

 

See Also:

     Marker Object on page 43