Skip to content

Commit

Permalink
Update roomtag.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed Oct 22, 2020
1 parent 19e74c3 commit 5c20c28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions revitron/roomtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def center(room, tagTypeId = False, viewId = False):
object: A Revit ``RoomTag`` element
"""
from revitron import _
return RoomTag.create(room, _(room).getBboxCenter(), tagTypeId = False, viewId = False)
return RoomTag.create(room, _(room).getBboxCenter(), tagTypeId, viewId)


@staticmethod
Expand All @@ -70,7 +70,7 @@ def topLeft(room, tagTypeId = False, viewId = False):
object: A Revit ``RoomTag`` element
"""
from revitron import _
return RoomTag.create(room, _(room).getPointTopLeft(), tagTypeId = False, viewId = False)
return RoomTag.create(room, _(room).getPointTopLeft(), tagTypeId, viewId)


@staticmethod
Expand All @@ -89,7 +89,7 @@ def topRight(room, tagTypeId = False, viewId = False):
object: A Revit ``RoomTag`` element
"""
from revitron import _
return RoomTag.create(room, _(room).getPointTopRight(), tagTypeId = False, viewId = False)
return RoomTag.create(room, _(room).getPointTopRight(), tagTypeId, viewId)


@staticmethod
Expand All @@ -108,7 +108,7 @@ def bottomLeft(room, tagTypeId = False, viewId = False):
object: A Revit ``RoomTag`` element
"""
from revitron import _
return RoomTag.create(room, _(room).getPointBottomLeft(), tagTypeId = False, viewId = False)
return RoomTag.create(room, _(room).getPointBottomLeft(), tagTypeId, viewId)


@staticmethod
Expand All @@ -127,4 +127,4 @@ def bottomRight(room, tagTypeId = False, viewId = False):
object: A Revit ``RoomTag`` element
"""
from revitron import _
return RoomTag.create(room, _(room).getPointBottomRight(), tagTypeId = False, viewId = False)
return RoomTag.create(room, _(room).getPointBottomRight(), tagTypeId, viewId)

0 comments on commit 5c20c28

Please sign in to comment.