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
Copy file name to clipboardExpand all lines: extensions/pyRevitTools.extension/pyRevit.tab/Modify.panel/3D.pulldown/Orient Section Box To Face.pushbutton/script.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
frompyrevitimportrevit, DB, UI
5
5
frompyrevitimportforms
6
6
7
-
importAutodesk.Revit.UI.Selection.ObjectType
7
+
fromAutodesk.Revit.UI.SelectionimportObjectType
8
8
9
9
curview=revit.active_view
10
10
@@ -16,8 +16,6 @@ def orientsectionbox(view):
16
16
UI.Selection.ObjectType.Face, "Pick a face to align to:"
0 commit comments