In creating sample lines, you need to work with three different style objects that control how sample lines are displayed.
The AeccGroupPlotStyle style controls how groups of section view graphs are drawn. The style changes the row and column orientation and spacing between multiple graphs. The collection of all AeccGroupPlotStyle styles is contained in the AeccDocument.GroupPlotStyles property.
Dim oGroupPlotStyle As AeccGroupPlotStyle Set oGroupPlotStyle = oDocument.GroupPlotStyles _ .Add("Example group plot style")
The AeccSampleLineStyle style controls how sample lines are drawn on a surface. The collection of all AeccSampleLineStyle styles is contained in the AeccDocument.SampleLineStyles property.
Dim oSampleLineStyle As AeccSampleLineStyle Set oSampleLineStyle = oDocument.SampleLineStyles _ .Add("Example sample line style") ' This style just changes the display of the sample line. oSampleLineStyle.LineDisplayStyleSection.color = 140 ' slate
The AeccSectionStyle style controls how surface cross sections are displayed in the section view graphs. The collection of all AeccSectionStyle styles is contained in the AeccDocument.SectionStyles property.
Dim oSectionStyle As AeccSectionStyle Set oSectionStyle = oDocument.SectionStyles _ .Add("Example cross section style") ' This style just changes the display of cross section ' lines. oSectionStyle.SegmentDisplayStyleSection.color = 110 ' green/blue