[VBA] Draw centerline between curves/lines

Is there some similar function available for Microstation which would allow to draw line as centerline between two lines or curves?

AutoLISP: Advanced Polyline Offset | AutoCAD Tips (autocadtips1.com)