Forum Discussion
Showcase: Real-Time Revit API Polling Bridge Built with C# / .NET
Hello .NET Community,
I wanted to share an implementation project I recently built for a Devpost hackathon called "BIM MPT Urban Optimize." It focuses on using C# and .NET infrastructure to handle real-time data streaming between external execution environments and localized CAD/BIM client engines.
Key Technical Highlights:
• Built a custom background polling bridge in C# that safely interacts with the Revit API thread context.
• Pushes data-optimized, active 3D geometric loops directly into running modeling document sessions in real-time.
• Integrates external optimization logic using Modern Portfolio Theory (MPT) linear algebra and Simplex Projection mathematics to dynamically resolve parcel footprint boundaries.
You can view the code breakdown, system workflow diagrams, and video demo here:
https://devpost.com/software/bim-mpt-urban-optimize
I would love to get your technical feedback on managing long-polling loops or background worker services safely within single-threaded legacy desktop API contexts.
Best regards,
Eng. Sherif Magd