A profile view, an object of type AeccProfileView, is a graphical display of profiles within a graph. A collection of profile views is contained in each alignment’s AeccAlignment.ProfileViews property.
Dim dOriginPt(0 To 2) As Double dOriginPt(0) = 6000 ' X location of profile view dOriginPt(1) = 3500 ' Y location dOriginPt(2) = 0 ' Z location ' Use the first profile view style in the document. Dim oProfileViewStyle As AeccProfileViewStyle Set oProfileViewStyle = oDocument.ProfileViewStyles.Item(0) Dim oProfileView as AeccProfileView Set oProfileView = oAlignment.ProfileViews.Add( _ "Profile Style 01", _ "0", _ dOriginPt, _ oProfileViewStyle, _ Nothing) ' "Nothing" means do not include data bands.