revit-apirevitrevitpythonshellpyrevit

PyRevit / RevitPythonShell Custom Tools - How to disable Alt-Click "View Code" functionality?


I've begun developing some tools for my firm using RPS and thus would like to know how to disable the alt-click "view code" functionality as shown in PyRevit. I've gone through the documentation and scoured the web but I haven't seen any kind of solution provided. Has anyone come across anything?

Any tips or tricks/workarounds are appreciated.


Solution

  • There is no option to disable the Alt+Click functionality unless you are willing to create a custom pyRevit core for your use only. Here is where the check happens