A Revit C# .NET add-in answering the Revit API discussion forum question on obtaining references to edges for dimensioning purposes.
Task: automatically create dimensions on a square face of a generic model. i.e. the user selects the face and the dimensions simply appear.
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.