Skip to content

Commit

Permalink
COREUPDATE: pyRevit 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
eirannejad committed Jul 4, 2017
2 parents fbe7b97 + d34eed1 commit 1b04eff
Show file tree
Hide file tree
Showing 270 changed files with 11,910 additions and 2,434 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ extensions/*
!extensions/pyRevitCore.extension/
!extensions/pyRevitDevTools.extension/
!extensions/pyRevitTools.extension/
!extensions/Rhino3dmIO.lib/
!extensions/extensions.json
!extensions/README.md

# ignore third-party lib folder
lib/*
!lib/README.md
!lib/enum

# ignore pyCharm workspace settings
.idea/workspace.xml
Expand Down
8 changes: 8 additions & 0 deletions dev/move to rpw.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Ultimately these modules need to be ported to rpw for ui consistency
scriptutils.forms
scriptutils.userinput


# Create
# rpw needs a create system (most probably each wrapper will get its own
# create method. e.g. FilledRegion.create()
20 changes: 20 additions & 0 deletions dev/toolswithtutors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Make videos for these tools:

- copy paste state, 3d section box, visibility graphics
- sum total
- clickable links
- show nested group structure
- convert unpurgable viewport types

Needs setup:
- print linked sheets
- print sheet index, manual override



- change element types safely
- pick tools
- sync view
- compare detail views
- load family types
- purge family
14 changes: 1 addition & 13 deletions extensions/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@
},
{
"builtin": "False",
"type": "lib",
"name": "RevitPythonWrapper",
"description": "A Python Wrapper For the Revit API",
"author": "Gui Talarico",
"author-url": "https://github.com/gtalarico",
"url": "https://github.com/gtalarico/revitpythonwrapper.git",
"website": "http://revitpythonwrapper.readthedocs.io/en/latest/",
"image" : "http://revitpythonwrapper.readthedocs.io/en/latest/_images/logo-tight.png",
"dependencies": []
},
{
"builtin": "False",
"type": "extension",
"name": "PyRevitPlus",
"description": "Extensions for PyRevit",
Expand All @@ -49,6 +37,6 @@
"url": "https://github.com/gtalarico/pyrevitplus.git",
"website": "https://github.com/gtalarico/pyrevitplus",
"image" : "",
"dependencies": ["RevitPythonWrapper"]
"dependencies": []
} ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@

from scriptutils import open_url
from scriptutils.userinput import WPFWindow
from pyrevit.coreutils.git import compare_branch_heads
from pyrevit.versionmgr import PYREVIT_VERSION, PYREVIT_REPO
from pyrevit.versionmgr.updater import get_pyrevit_repo, has_pending_updates
# from pyrevit.coreutils.git import compare_branch_heads
# from pyrevit.versionmgr.updater import get_pyrevit_repo, has_pending_updates


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

__doc__ = 'About pyrevit. Opens the pyrevit blog website. You can find ' \
'detailed information on how pyrevit works, updates about the' \
'new tools and changes, and a lot of other information there.'


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

try:
self.version_info.Text = ' v{}'.format(PYREVIT_VERSION.get_formatted())
self.version_info.Text = ' v{}' \
.format(PYREVIT_VERSION.get_formatted())
if PYREVIT_REPO.branch != 'master':
self.branch_info.Text = ' ({})'.format(PYREVIT_REPO.branch)
except:
self.version_info.Text = ''
self.pyrevit_subtitle.Text += '\nRunning on IronPython {}.{}.{}'.format(sys.version_info.major,
sys.version_info.minor,
sys.version_info.micro)
self.pyrevit_subtitle.Text += '\nRunning on IronPython {}.{}.{}' \
.format(sys.version_info.major,
sys.version_info.minor,
sys.version_info.micro)

# noinspection PyUnusedLocal
# noinspection PyMethodMayBeStatic
Expand Down Expand Up @@ -67,7 +72,9 @@ def onactivated(self, sender, args):
# pyrvt_repo = get_pyrevit_repo()
# if has_pending_updates(pyrvt_repo):
# hist_div = compare_branch_heads(pyrvt_repo)
# self.version_info.Text = '{} {}'.format(self.version_info.Text, hist_div.BehindBy)
# self.version_info.Text = '{} {}'
# .format(self.version_info.Text,
# hist_div.BehindBy)


if __name__ == '__main__':
Expand Down
Loading

0 comments on commit 1b04eff

Please sign in to comment.