Sample Program

SectionSample.dvb

<installation-directory>\Sample\Civil 3D API\Vba\Section\SectionSample.dvb

This sample program creates a surface from a file and an alignment from a polyline. Sample lines (using group sample lines, individual sample lines, and sample lines based on polyline entities) are created across the alignment. Sections are created from each sample line, and section views of each surface cross section are drawn. Styles and label styles for sample lines and section views are created, as are data bands for the section view graphs.