Skip to content

Commit 21c0158

Browse files
author
EF
committed
FinalCleanup
1 parent 4e6ca84 commit 21c0158

File tree

1 file changed

+3
-8
lines changed
  • extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/Tools.stack/Analyse.pulldown/Door Mirror State.pushbutton

1 file changed

+3
-8
lines changed

extensions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/Tools.stack/Analyse.pulldown/Door Mirror State.pushbutton/script.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
# -*- coding: utf-8 -*-
2-
2+
"""Writes the door swing direction of doors
3+
to a shared parameter."""
34
__title__ = "DoorMirrorState"
4-
__author__ = "Jakob Steiner"
5-
__doc__ = """Version = 0.3
6-
Date = 13.04.2025
75

8-
"""
9-
#--------------------------------------------------------------------------------------------------------------------
106
#IMPORTS
117
# System
128
import time, sys
@@ -20,14 +16,13 @@
2016
uidoc = __revit__.ActiveUIDocument
2117
app = __revit__.Application
2218
output = script.get_output()
23-
#--------------------------------------------------------------------------------------------------------------------
19+
2420
#GLOBAL PARAMETERS
2521
DOORDIR_STANDARD_PARAM = "DoorFamilyOpeningDirection_standard"
2622
DOORDIR_MIRRORED_PARAM = "DoorFamilyOpeningDirection_mirrored"
2723
DOORDIR_WRITEBACK_PARAM = "Door Wing Opening Direction"
2824
DOORDIR_ERROR_VALUE = "-" # Value if the family does't have shared param. above
2925

30-
#--------------------------------------------------------------------------------------------------------------------
3126
#MAIN
3227
timer_start = time.time()
3328

0 commit comments

Comments
 (0)