Skip to content

Executor result codes

Codes the script executor returns after running a command, generated from dev/pyRevitLabs.PyRevit.Runtime/ScriptExecutor.cs.

Code Result
0 Succeeded
1 Sys Exited
2 Execution Exception
3 Compile Exception
4 Engine Not Implemented Exception
5 External Interface Not Implemented Exception
6 Failed Loading Content
7 Bad Command Arguments
8 Not Supported Feature Exception
9 Unknown Exception
10 Missing Target Script
11 Delayed Execution Requested
12 Failed Delayed Execution Request
13 Delayed Execution Exception
14 Executor Not Initialized