Skip to content

Commit c3eb5fe

Browse files
jmcouffinCopilot
andauthored
Update extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/script.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 34a10b6 commit c3eb5fe

File tree

1 file changed

+0
-1
lines changed
  • extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton

1 file changed

+0
-1
lines changed

extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/script.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,6 @@ def Execute(self, uiapp):
611611
ogs.SetSurfaceForegroundPatternId(solid_fill_id)
612612
ogs.SetCutForegroundPatternId(solid_fill_id)
613613
# Apply background pattern color if enabled (Revit 2019+)
614-
version = int(HOST_APP.version)
615614
if apply_background_pattern_color and version >= 2019:
616615
ogs.SetSurfaceBackgroundPatternColor(background_color)
617616
ogs.SetCutBackgroundPatternColor(background_color)

0 commit comments

Comments
 (0)