Hello. Very new to the programming world as well as PyRevit.
I’d love to use PyRevit to create buttons. I started to do this by creating a series of folders and then addinig a .py file to the folder but I come up with errors where it basically gives me a couple errors and then tells me a the source file cannot be found and may have been deleted. Then I realized there was a bundle creator extension so Im trying that route now.
The issue is that I am getting errors with the bundle creator to. Do I just need to reinstalll this in a different location??
Error is below:
IronPython Traceback:
Traceback (most recent call last):
File “C:\Program Files\pyRevit-Master\extensions\pyRevitBundlesCreatorExtension.extension\pyRevit Bundles Creator.tab\Button creation.panel\Button Creator.pushbutton\script.py”, line 24, in
WindowsError: [Errno 13] [Errno 5] Access to the path ‘C:\Program Files\pyRevit-Master\extensions\pyRevitBundlesCreatorExtension.extension\pyRevit Bundles Creator.tab\My New Panel Name.panel’ is denied.
Script Executor Traceback:
System.ComponentModel.Win32Exception (0x80004005): WindowsError
at IronPython.Modules.PythonNT.mkdir(String path)
at Microsoft.Scripting.Interpreter.ActionCallInstruction1.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at Microsoft.Scripting.Interpreter.DynamicInstruction
4.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)