Datasheet

WINDOWS ON THE MODEL 15
6. Right-click the VBA category, and select New Tool.
7. Expand the VBA category to view the new tool, and then click the name to edit it in the preview
area. Change its name to Pipe Sample.
8. Change the Description to Sample VBA.
9. Working down through the properties in the preview area, select VBA in the drop-down menu
in the Execute Type field.
10. Click in the Execute File field, and then click the More button.
11. Browse to C:\Program Files\Autocad Civil 3D 2010\Sample\Civil 3D API\COM\Vba\Pipe\,
and select the file PipeSample.dvb.
12. Click Open.
13. Click in the Macro Name text field, and type PipeSample as shown here.
14. Click the green check box at upper right to dismiss the editor.
15. You will be asked ‘‘Would you like to apply those changes now?’’ Select Yes.
You’ve now added that sample VBA macro to your Toolbox. By adding commonly used macros and
custom reports to your Toolbox, you can keep them handy without modifying the rest of your Civil
3D interface or programming buttons. It’s just one more way to create an interface and toolset for the
way you work.
Panorama
The Panorama window is Civil 3D’s feedback and tabular editing mechanism. Designed to be
a common interface for a number of different Civil 3Drelated tasks, you can use it to provide
information about the creation of profile views, to edit pipe or structure information, or to run
basic volume analysis between two surfaces. For an example of Panorama in action, change to the
View tab, and then select Palettes Event Viewer. You’ll explore and use Panorama more during
this book’s discussion of specific objects and tasks.