Ad

Sunday, January 27, 2008

Sample VBA Code

While working on some code to export data from Civil 3D to HEC-RAS I found that the existing HEC-RAS Report (which wasn't completed by Autodesk) has some good starting points to create your own custom VBA Programs.

It has a list box to collect all of the alignments in a drawing, code to write to a text file and a way to have the user save the file. It also has good examples on how to use Class Modules to pass values between modules.

No comments:

LinkWithin

Blog Widget by LinkWithin

Ad