Skip to content

Commit c1e2dff

Browse files
committed
v4.6.8
2 parents 2af18dd + 4427e8f commit c1e2dff

File tree

15 files changed

+11
-11
lines changed

15 files changed

+11
-11
lines changed

bin/pyRevitLabs.Common.dll

0 Bytes
Binary file not shown.

bin/pyRevitLabs.Common.pdb

0 Bytes
Binary file not shown.

bin/pyRevitLabs.CommonCLI.dll

0 Bytes
Binary file not shown.

bin/pyRevitLabs.CommonCLI.pdb

0 Bytes
Binary file not shown.

bin/pyRevitLabs.Language.dll

0 Bytes
Binary file not shown.

bin/pyRevitLabs.Language.pdb

0 Bytes
Binary file not shown.

bin/pyRevitLabs.TargetApps.Revit.dll

0 Bytes
Binary file not shown.

bin/pyRevitUpdater.exe

0 Bytes
Binary file not shown.

bin/pyrevit.exe

0 Bytes
Binary file not shown.

bin/pyrevit.pdb

0 Bytes
Binary file not shown.

extensions/pyRevitTools.extension/pyRevit.tab/Drawing Set.panel/views.stack3/Views.pulldown/Find Views.pushbutton/script.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def find_view_with_template():
6060
vtid = v.ViewTemplateId
6161
vt = revit.doc.GetElement(vtid)
6262
if vt:
63-
phasep = v.Parameter[DB.BuiltInParameter.VIEW_PHASE]
63+
phasep = v.Parameter[DB.BuiltInParameter.VIEW_PHASE]
6464
print('TYPE: {1} ID: {2} TEMPLATE: {3} PHASE:{4} {0}'.format(
6565
v.ViewName,
6666
str(v.ViewType).ljust(20),

extensions/pyRevitTutor.extension/pyRevitTutor.tab/Sessions.panel/Session 2.pushbutton/total volume_script.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__title__ = 'Total\nVolume'
44

55

6-
from Autodesk.Revit.DB import FilteredElementCollector, BuiltInCategory
6+
from Autodesk.Revit.DB import FilteredElementCollector, BuiltInCategory, BuiltInParameter
77

88
doc = __revit__.ActiveUIDocument.Document
99

@@ -17,9 +17,9 @@
1717
total_volume = 0.0
1818

1919
for wall in wall_collector:
20-
vol_param = wall.Parameter[DB.BuiltInParameter.HOST_VOLUME_COMPUTED]
20+
vol_param = wall.Parameter[BuiltInParameter.HOST_VOLUME_COMPUTED]
2121
if vol_param:
2222
total_volume = total_volume + vol_param.AsDouble()
2323

2424
# now that results are collected, print the total
25-
print("Total Volume is: {}".format(total_volume))
25+
print("Total Volume is: {}".format(total_volume))

extensions/pyRevitTutor.extension/pyRevitTutor.tab/Sessions.panel/Session 4.pushbutton/firsttransaction_script.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__title__ = 'First\nTransactions'
44

55

6-
from Autodesk.Revit.DB import FilteredElementCollector, BuiltInCategory, Transaction, TransactionGroup
6+
from Autodesk.Revit.DB import FilteredElementCollector, BuiltInCategory, Transaction, TransactionGroup, BuiltInParameter
77

88
doc = __revit__.ActiveUIDocument.Document
99

@@ -23,7 +23,7 @@
2323
t.Start()
2424

2525
for sheet in sheets_collector:
26-
custom_param = sheet.Parameter[DB.BuiltInParameter.ALL_MODEL_INSTANCE_COMMENTS]
26+
custom_param = sheet.Parameter[BuiltInParameter.ALL_MODEL_INSTANCE_COMMENTS]
2727
if custom_param:
2828
custom_param.Set("Example value")
2929

@@ -38,4 +38,4 @@
3838

3939
t.Commit()
4040

41-
tg.Assimilate()
41+
tg.Assimilate()

pyrevitlib/pyrevit/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
PYREVIT_ADDON_NAME = 'pyRevit'
3939
VERSION_MAJOR = 4
4040
VERSION_MINOR = 6
41-
BUILD_METADATA = '.7'
41+
BUILD_METADATA = '.8'
4242

4343
# -----------------------------------------------------------------------------
4444
# config environment paths

release/pyRevit.aip

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
<ROW Property="DialogBitmap" Value="dialog" MultiBuildValue="DefaultBuild:pyRevit1.bmp" Type="1" MsiKey="DialogBitmap"/>
2828
<ROW Property="Manufacturer" Value="Ehsan Iran-Nejad"/>
2929
<ROW Property="MsiLogging" MultiBuildValue="DefaultBuild:vp"/>
30-
<ROW Property="ProductCode" Value="1033:{B105FB5A-0ACF-4A07-9A14-057886D5E25D} " Type="16"/>
30+
<ROW Property="ProductCode" Value="1033:{C433FE4C-BE21-405D-8D7B-043392763FC7} " Type="16"/>
3131
<ROW Property="ProductLanguage" Value="1033"/>
3232
<ROW Property="ProductName" Value="pyRevit"/>
33-
<ROW Property="ProductVersion" Value="4.6.7" Type="32"/>
33+
<ROW Property="ProductVersion" Value="4.6.8" Type="32"/>
3434
<ROW Property="REBOOT" MultiBuildValue="DefaultBuild:ReallySuppress"/>
3535
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR"/>
3636
<ROW Property="UpgradeCode" Value="{CF0C9661-A782-4D2E-A850-C29B657B57AB}"/>
@@ -426,7 +426,7 @@
426426
</COMPONENT>
427427
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
428428
<ROW Component="ACT" ComponentId="{1C2437CB-91AB-4EEF-B858-DCFDF94CC556}" Directory_="Australia_Dir" Attributes="0" KeyPath="ACT" Type="0"/>
429-
<ROW Component="AI_CustomARPName" ComponentId="{DE6697F5-4121-4CFE-8EB8-431AA5EC4201}" Directory_="APPDIR" Attributes="260" KeyPath="DisplayName" Options="1"/>
429+
<ROW Component="AI_CustomARPName" ComponentId="{D16EC8DE-568D-4705-BD9F-DC6D4596BA27}" Directory_="APPDIR" Attributes="260" KeyPath="DisplayName" Options="1"/>
430430
<ROW Component="AI_DisableModify" ComponentId="{C77D802D-6409-4BD6-9303-97390842F7D5}" Directory_="APPDIR" Attributes="260" KeyPath="NoModify" Options="1"/>
431431
<ROW Component="AI_ExePath" ComponentId="{505F96D2-054E-4761-AE20-B27603EF0AAB}" Directory_="APPDIR" Attributes="260" KeyPath="AI_ExePath"/>
432432
<ROW Component="Abidjan" ComponentId="{E25482B2-113F-4CD0-9DB0-FA9EAE110FC6}" Directory_="Africa_Dir" Attributes="0" KeyPath="Abidjan" Type="0"/>

0 commit comments

Comments
 (0)