Skip to content

Commit

Permalink
build(release): merged branch develop (release 0.1.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed Dec 16, 2021
2 parents e3de9ae + 741aedd commit 167af8a
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import revitron
from revitron import _
from pyrevit import output

out = output.get_output()

try:
cloudModelPath = revitron.DOC.GetCloudModelPath()

modelGuid = cloudModelPath.GetModelGUID()
projectGuid = cloudModelPath.GetProjectGUID()

out.print_table([[modelGuid,
projectGuid]],
title='Cloud Model Info',
columns=['Model GUID',
'Project GUID'])
except:
out.print_html('<b>The active model is not a cloud model!</b>')
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
min_revit_version: 2020
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Revitron.tab/Revitron.panel/Cloud.pulldown/bundle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
layout:
- CloudModelInfo[title:Cloud Model Info]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
value = revitron.Unit.convertToInternalUnit(form.values['value'], unit)
except:
value = float(form.values['value'])
print('no unit', value)

scope = False

Expand Down
1 change: 1 addition & 0 deletions Revitron.tab/Revitron.panel/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ layout:
- Rooms
- Links
- History
- Cloud
- ">>>>>"
- About[title:About\nRevitron]
- Help[title:Online\nHelp]
Expand Down
5 changes: 5 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{%- extends "!layout.html" %}
{%- block extrahead %}
<meta property="og:image" content="https://madog.vercel.app/revitronUi.png?page=/{{pagename}}.html"></meta>
<meta name="twitter:card" content="summary_large_image">
{% endblock %}
8 changes: 1 addition & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,9 @@

# Open Graph extension config. https://pypi.org/project/sphinxext-opengraph/
ogp_site_url = "https://revitron-ui.readthedocs.io/"
ogp_image = "https://raw.githubusercontent.com/revitron/revitron-ui/master/docs/source/_static/revitron-ui.png"
ogp_description_length = 300

ogp_custom_meta_tags = [
'<meta name="twitter:card" content="summary_large_image">',
]

# Add any paths that contain templates here, relative to this directory.
templates_path = []
templates_path = ['_templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
2 changes: 1 addition & 1 deletion lib/revitronui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
from revitronui.forms import *
from revitronui.tags import *

REVITRON_UI_VERSION = '0.1.4'
REVITRON_UI_VERSION = '0.1.5'

0 comments on commit 167af8a

Please sign in to comment.