← Back

Agents and tools

Custom Revit Family via C# API: DDA Accessible Bench

A compliant 1000x535x740mm accessible bench family built from a DXF GA using the send_code_to_revit C# API. Three-stage process: profile, extrusion, parameter binding. No family editor required.

RevitC# APIcustom familyDDA complianceaccessible designBrookerFlynn Architectssend_code_to_revit

Revit's family editor is capable but slow. Building a compliant accessible bench from a supplied GA drawing the conventional way means opening the editor, tracing profiles, extruding, adding parameters, testing. Thirty minutes minimum, more for anything complex.

This build used the send_code_to_revit tool to write C# directly against the Revit API from a prompt, working from the DXF GA drawing. The process ran in three stages: profile generation, extrusion, and parameter binding for the key dimensions.

The finished family is 1000x535x740mm, matches the DDA requirements from the GA, and is parameterised for width and depth variation. The summary shows all three stages alongside the final Revit family in place.