You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Windows 10, running 2025 Revit and the WIP 5.** version of pyRevit.
Under the ‘Match’ menu, I just tried "Match Paint" selecting a Catch Basin family .rfa and attempting to paste to an identical Catch Basin .rfa family.
I wanted the copy and paste the magenta line color graphic override, to a catch basin with no graphic overrides. It provided this error
“
ERROR [pyrevit.revit.db.transaction] Error in Transaction Context. Rolling back changes. | <type 'exceptions.Exception'>:The element's face cannot be painted.
Parameter name: face
IronPython Traceback:
Traceback (most recent call last):
File "C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit1.stack\Match.splitpushbutton\Match Paint.pushbutton\script.py", line 36, in
Exception: The element's face cannot be painted.
Parameter name: face
Script Executor Traceback:
Autodesk.Revit.Exceptions.ArgumentException: The element's face cannot be painted.
Parameter name: face
at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) in //Src/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs:line 405
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) in //Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 135
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) in //Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 150
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in //Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 96
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) in //Src/Microsoft.Dynamic/Interpreter/LightLambda.Generated.cs:line 86
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\PythonScriptCode.cs:line 65
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 85
at Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope) in //Src/Microsoft.Scripting/Hosting/CompiledCode.cs:line 63
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)
“
⌨ Error/Debug Message
ERROR [pyrevit.revit.db.transaction] Error in Transaction Context. Rolling back changes. |<type 'exceptions.Exception'>:The element's face cannot be painted. Parameter name: faceIronPython Traceback:Traceback (most recent call last): File "C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit1.stack\Match.splitpushbutton\Match Paint.pushbutton\script.py", line 36, in <module>Exception: The element's face cannot be painted.
Parameter name: face
Script Executor Traceback:
Autodesk.Revit.Exceptions.ArgumentException: The element's face cannot be painted.Parameter name: face at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) in /_/Src/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs:line 405 at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) in /_/Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 135 at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) in /_/Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 150 at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in /_/Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 96 at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) in /_/Src/Microsoft.Dynamic/Interpreter/LightLambda.Generated.cs:line 86 at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\PythonScriptCode.cs:line 65 at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 85 at Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope) in /_/Src/Microsoft.Scripting/Hosting/CompiledCode.cs:line 63 at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)
♻️ To Reproduce
No response
⏲️ Expected behavior
Copy and Paste Graphic Overrides
🖥️ Hardware and Software Setup (please complete the following information)
Windows 10
Additional context
No response
The text was updated successfully, but these errors were encountered:
Garyebeck
added
the
Bug
Bug that stops user from using the tool or a major portion of pyRevit functionality [class]
label
Nov 23, 2024
✈ Pre-Flight checks
🐞 Describe the bug
Running Windows 10, running 2025 Revit and the WIP 5.** version of pyRevit.
Under the ‘Match’ menu, I just tried "Match Paint" selecting a Catch Basin family .rfa and attempting to paste to an identical Catch Basin .rfa family.
I wanted the copy and paste the magenta line color graphic override, to a catch basin with no graphic overrides. It provided this error
“
ERROR [pyrevit.revit.db.transaction] Error in Transaction Context. Rolling back changes. | <type 'exceptions.Exception'>:The element's face cannot be painted.
Parameter name: face
IronPython Traceback:
Traceback (most recent call last):
File "C:\Program Files\pyRevit-Master\extensions\pyRevitTools.extension\pyRevit.tab\Modify.panel\edit1.stack\Match.splitpushbutton\Match Paint.pushbutton\script.py", line 36, in
Exception: The element's face cannot be painted.
Parameter name: face
Script Executor Traceback:
Autodesk.Revit.Exceptions.ArgumentException: The element's face cannot be painted.
Parameter name: face
at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) in //Src/Microsoft.Dynamic/Interpreter/Instructions/ControlFlowInstructions.cs:line 405
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) in //Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 135
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception) in //Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 150
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in //Src/Microsoft.Dynamic/Interpreter/Interpreter.cs:line 96
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) in //Src/Microsoft.Dynamic/Interpreter/LightLambda.Generated.cs:line 86
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\PythonScriptCode.cs:line 65
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope) in D:\a\pyRevit\pyRevit\dev\modules\pyRevitLabs.IronPython2\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 85
at Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope) in //Src/Microsoft.Scripting/Hosting/CompiledCode.cs:line 63
at PyRevitLabs.PyRevit.Runtime.IronPythonEngine.Execute(ScriptRuntime& runtime)
“
⌨ Error/Debug Message
♻️ To Reproduce
No response
⏲️ Expected behavior
Copy and Paste Graphic Overrides
🖥️ Hardware and Software Setup (please complete the following information)
Additional context
No response
The text was updated successfully, but these errors were encountered: