Surface Triangulation Tool

I exchanged some comments with Anthony of Clendon Burns & Park Ltd in the course of the last couple of days and suggested the use of my NewSketchPlaneContainCurve method, with the following happy end:

My app now works perfectly. I'm generating some model lines from a topo surface, this enables our users to edit the top of retaining walls etc. to follow the ground line cut away by building pads.

Anthony has very friendlily published his resulting surface triangulation tool on AUGI. Here is what he says about it there:

Have you ever wanted to trim the top of a retaining wall to the top of your toposurface? Well now you can.

User instructions:

  1. Create a building pad that follows your retaining wall.
  2. Draw your retaining walls so they project above the surface make sure location line is set to core centre line).
  3. Select the toposurface and run the surfacetool command.
  4. Edit the walls profile, by snapping to the end points of the new model lines.

Install instructions:

  1. Unzip the attached file to C:\surfacetool.
  2. Copy the add-in file to your Revit addins directory.

Please visit Anthony's AUGI thread to download the solution file Surface.zip and make sure he gets your appreciation!

For completeness' sake, here is the source code as well.