gtalarico / pyrevitplus

PyRevitPlus - Extensions for PyRevit
GNU General Public License v3.0
52 stars 16 forks source link

Revit 2021 Crop image not working #24

Open MarcelP102 opened 4 years ago

MarcelP102 commented 4 years ago

IronPython Traceback: Traceback (most recent call last): File "C:\Users\marce\AppData\Roaming\pyRevit\Extensions\PyRevitPlus.extension\pyRevitPlus.tab\Image.panel\Crop Image.pushbutton\script.py", line 174, in AttributeError: 'Autodesk.Revit.DB' object has no attribute 'ImageImportOptions'

Script Executor Traceback: System.MissingMemberException: 'Autodesk.Revit.DB' object has no attribute 'ImageImportOptions' at IronPython.Runtime.Binding.PythonGetMemberBinder.NamespaceTrackerDelegate.Target(CallSite site, Object self, CodeContext context) at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) at Microsoft.Scripting.Interpreter.DynamicInstruction`3.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)

gtalarico commented 4 years ago

Sorry I am no longer maintaining this. It's probably a revit 2021 breaking api change

On Mon, Jul 6, 2020 at 6:31 AM MarcelP102 notifications@github.com wrote:

IronPython Traceback: Traceback (most recent call last): File "C:\Users\marce\AppData\Roaming\pyRevit\Extensions\PyRevitPlus.extension\pyRevitPlus.tab\Image.panel\Crop Image.pushbutton\script.py", line 174, in AttributeError: 'Autodesk.Revit.DB' object has no attribute 'ImageImportOptions'

Script Executor Traceback: System.MissingMemberException: 'Autodesk.Revit.DB' object has no attribute 'ImageImportOptions' at IronPython.Runtime.Binding.PythonGetMemberBinder.NamespaceTrackerDelegate.Target(CallSite site, Object self, CodeContext context) at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) at Microsoft.Scripting.Interpreter.DynamicInstruction`3.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)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gtalarico/pyrevitplus/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACISX4BXH32V3OUVEF3IMT3R2HG4VANCNFSM4ORTPMTA .