Sample Programs

ProfileSample.dvb

<installation-directory>\Sample\Civil 3D API\Vba\Profile\ProfileSample.dvb

This sample creates a surface from a file and an alignment using entities. It creates a profile based on the existing surface along the alignment. It then creates a second profile using entities and points of vertical intersection. A profile view is made displaying both profiles. The style and label style of the profile view are set with custom styles. Data bands are added to the profile view.

CorridorSample.dvb

<installation-directory>\Sample\Civil 3D API\Vba\Corridor\CorridorSample.dvb

The CreateCorridor method of the Corridor module shows the creation of a profile using entities.