Skip to content

Commit

Permalink
re PR #619 - Improved tooltip
Browse files Browse the repository at this point in the history
added logger back. It's better to have the logger object so one can add log messages easily without going back to the top of script to check if logger object exists
  • Loading branch information
eirannejad committed Jun 2, 2019
1 parent 9d05b49 commit 4502d93
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Print items in order from a sheet index.
Parameter to fill should be created in advance (instance parameter, integer, for 'Sheets' category. Must contain 'order' in name)
This tool looks for project parameters (on Sheets) that are
Instance, of type Integer, and have "Order" in their names.
"""
#pylint: disable=W0613,E0401,C0103
import re
Expand All @@ -9,6 +10,10 @@
from pyrevit import revit, DB
from pyrevit import script


logger = script.get_logger()


class ListItem(object):
def __init__(self, view_sheet):
self._item = view_sheet
Expand Down

0 comments on commit 4502d93

Please sign in to comment.