Skip to content

Commit 1b04eff

Browse files
committed
COREUPDATE: pyRevit 4.4
2 parents fbe7b97 + d34eed1 commit 1b04eff

File tree

270 files changed

+11910
-2434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+11910
-2434
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ extensions/*
33
!extensions/pyRevitCore.extension/
44
!extensions/pyRevitDevTools.extension/
55
!extensions/pyRevitTools.extension/
6+
!extensions/Rhino3dmIO.lib/
67
!extensions/extensions.json
78
!extensions/README.md
89

910
# ignore third-party lib folder
1011
lib/*
1112
!lib/README.md
13+
!lib/enum
1214

1315
# ignore pyCharm workspace settings
1416
.idea/workspace.xml

dev/move to rpw.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Ultimately these modules need to be ported to rpw for ui consistency
2+
scriptutils.forms
3+
scriptutils.userinput
4+
5+
6+
# Create
7+
# rpw needs a create system (most probably each wrapper will get its own
8+
# create method. e.g. FilledRegion.create()

dev/toolswithtutors.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Make videos for these tools:
2+
3+
- copy paste state, 3d section box, visibility graphics
4+
- sum total
5+
- clickable links
6+
- show nested group structure
7+
- convert unpurgable viewport types
8+
9+
Needs setup:
10+
- print linked sheets
11+
- print sheet index, manual override
12+
13+
14+
15+
- change element types safely
16+
- pick tools
17+
- sync view
18+
- compare detail views
19+
- load family types
20+
- purge family

extensions/extensions.json

+1-13
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,6 @@
2929
},
3030
{
3131
"builtin": "False",
32-
"type": "lib",
33-
"name": "RevitPythonWrapper",
34-
"description": "A Python Wrapper For the Revit API",
35-
"author": "Gui Talarico",
36-
"author-url": "https://github.com/gtalarico",
37-
"url": "https://github.com/gtalarico/revitpythonwrapper.git",
38-
"website": "http://revitpythonwrapper.readthedocs.io/en/latest/",
39-
"image" : "http://revitpythonwrapper.readthedocs.io/en/latest/_images/logo-tight.png",
40-
"dependencies": []
41-
},
42-
{
43-
"builtin": "False",
4432
"type": "extension",
4533
"name": "PyRevitPlus",
4634
"description": "Extensions for PyRevit",
@@ -49,6 +37,6 @@
4937
"url": "https://github.com/gtalarico/pyrevitplus.git",
5038
"website": "https://github.com/gtalarico/pyrevitplus",
5139
"image" : "",
52-
"dependencies": ["RevitPythonWrapper"]
40+
"dependencies": []
5341
} ]
5442
}

extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/About.pushbutton/aboutscript.py

+16-9
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33

44
from scriptutils import open_url
55
from scriptutils.userinput import WPFWindow
6-
from pyrevit.coreutils.git import compare_branch_heads
76
from pyrevit.versionmgr import PYREVIT_VERSION, PYREVIT_REPO
8-
from pyrevit.versionmgr.updater import get_pyrevit_repo, has_pending_updates
7+
# from pyrevit.coreutils.git import compare_branch_heads
8+
# from pyrevit.versionmgr.updater import get_pyrevit_repo, has_pending_updates
99

1010

11-
__doc__ = 'About pyrevit. Opens the pyrevit blog website. You can find detailed information on how pyrevit works, ' \
12-
'updates about the new tools and changes, and a lot of other information there.'
11+
__context__ = 'zerodoc'
12+
13+
__doc__ = 'About pyrevit. Opens the pyrevit blog website. You can find ' \
14+
'detailed information on how pyrevit works, updates about the' \
15+
'new tools and changes, and a lot of other information there.'
1316

1417

1518
class AboutWindow(WPFWindow):
@@ -21,14 +24,16 @@ def __init__(self, xaml_file_name):
2124
self.set_image_source('keybase_profile', 'keybase.png')
2225

2326
try:
24-
self.version_info.Text = ' v{}'.format(PYREVIT_VERSION.get_formatted())
27+
self.version_info.Text = ' v{}' \
28+
.format(PYREVIT_VERSION.get_formatted())
2529
if PYREVIT_REPO.branch != 'master':
2630
self.branch_info.Text = ' ({})'.format(PYREVIT_REPO.branch)
2731
except:
2832
self.version_info.Text = ''
29-
self.pyrevit_subtitle.Text += '\nRunning on IronPython {}.{}.{}'.format(sys.version_info.major,
30-
sys.version_info.minor,
31-
sys.version_info.micro)
33+
self.pyrevit_subtitle.Text += '\nRunning on IronPython {}.{}.{}' \
34+
.format(sys.version_info.major,
35+
sys.version_info.minor,
36+
sys.version_info.micro)
3237

3338
# noinspection PyUnusedLocal
3439
# noinspection PyMethodMayBeStatic
@@ -67,7 +72,9 @@ def onactivated(self, sender, args):
6772
# pyrvt_repo = get_pyrevit_repo()
6873
# if has_pending_updates(pyrvt_repo):
6974
# hist_div = compare_branch_heads(pyrvt_repo)
70-
# self.version_info.Text = '{} {}'.format(self.version_info.Text, hist_div.BehindBy)
75+
# self.version_info.Text = '{} {}'
76+
# .format(self.version_info.Text,
77+
# hist_div.BehindBy)
7178

7279

7380
if __name__ == '__main__':

0 commit comments

Comments
 (0)