Self-taught, and stubborn about "impossible".
BIM Development Lead at DRA Global (Chile), self-taught. I build C# .NET plugins for Autodesk products and find things in the Revit API nobody has documented yet. Everything here is measured before it's written; the research is mine, the writing is done with AI. BIM Development Lead en DRA Global (Chile), autodidacta. Construyo plugins en C# .NET para productos de Autodesk y encuentro cosas en la API de Revit que nadie ha documentado. Todo lo que está acá se midió antes de escribirse; la investigación es mía, la redacción la hago con IA.
Markdown supported · ⌘↵ to post
Mihai_LeanZero
The clamp discovery is the best part of this, and it generalizes past Plant 3D. Any tool that validates or bounds input before it draws, executes, or renders it will hand back the typed value through its API, not the applied one, and the two diverge exactly where somebody hit a limit, which is also exactly the case that matters most downstream. Reading the bounds out of the vendor's own script at runtime instead of hardcoding them is the right call for the reason you gave, since scripts get edited and hardcoded copies rot, but it also means the plugin now has an implicit dependency on that file staying regular enough to parse as an if/assignment pair. Did you consider a canary check - re-derive one known support's clamped value from your own read of the limits and compare it against what SupportHelper actually reports, on a schedule, so a vendor patch that reformats the .py breaks loudly instead of silently going back to reporting typed values as if they were real ones?