pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.33k stars 338 forks source link

Orient View to face - A transaction or sub-transaction was opened but not closed #177

Closed pabloderen closed 7 years ago

pabloderen commented 7 years ago

The tool "Orient View to face" gives an error commiting a transaction. Only option is to cancel.

A transaction or sub-transaction was opened but not closed. All changes to the active document made by External Command will be discarded.

pyRevit version: 4.2:97c059a Autodesk Revit 2017 (build: 20170118_1100(x64) id: 11484) Running on: 2.7.6 (IronPython 2.7.6.3 (2.7.6.3) on .NET 4.0.30319.42000 (64-bit))

eirannejad commented 7 years ago

@pabloderen I noticed this error last week and fixed it. It's due to an API change in Revit 2017. Please update your pyRevit to the most recent and it should work properly.

pabloderen commented 7 years ago

Now it works, thank you!

2017-04-05 16:10 GMT+02:00 Ehsan Iran-Nejad notifications@github.com:

Closed #177 https://github.com/eirannejad/pyRevit/issues/177.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eirannejad/pyRevit/issues/177#event-1030446530, or mute the thread https://github.com/notifications/unsubscribe-auth/ANehE0AlgkdxMAv-RKH3Ue2_sj_50dZBks5rs6DKgaJpZM4M0J9C .

-- *Pablo Derendinger Arquitecto / BIM Manager*

*Skype:* pablo.derendinger Phone: +54 9 351 304 4467