Closed gtalarico closed 7 years ago
I have just tried this with the Revit 2017 version... instead of crashing Revit, I get an error dialog:
[image: Inline image 1]
This was for a wall object (<Autodesk.Revit.DB.Wall object at 0x000000000000002C [Autodesk.Revit.DB.Wall]>
). So, I think this is better.
Maybe we can backport this to the 2015 and 2016 versions?
If you do bb = element.get_BoundingBox()
you might see another problem:
element <Autodesk.Revit.DB.Wall object at 0x000000000000002C [Autodesk.Revit.DB.Wall]> bb = element.get_BoundingBox() Traceback (most recent call last): File "
", line 1, in TypeError: get_BoundingBox() takes exactly 1 argument (0 given)
Maybe that is why autocomplete crashes? I will probably have to look into this, but I am also dreading it: The PythonConsole code is really hairy...
Thank you for reporting this! I have added it to my task list :)
On Tue, Jul 12, 2016 at 5:05 PM, Gui Talarico notifications@github.com wrote:
example: element.get_BoundingBox(). ... As soon as you hit dot revit crashes....
Consistently reproduced on 2015 + 2016
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/39, or mute the thread https://github.com/notifications/unsubscribe/AC1P3AiSfujx9iz_Ucv2aLzte5oRH-NVks5qU60egaJpZM4JKfp7 .
with the release 2015.04.29 : crashes (because get_BoundingBox() needs the view argument) with the release 2015.05.21 : catches error
maybe users still download April release from the README file ?
I definitely downloaded the installer from the readme @PMoreu! That would explain. I will to download the latest from the binary install from the source folder
Ps: I'm running it on revit 2015. Looks like 04.29 is the latest...
Hi @gtalarico, ten years later sorry.... I've tried to backport some changes to improve RPS on revit 2015, works fine for me.
If you still need it, you can try to replace the DLL from this output : https://github.com/PMoureu/revitpythonshell/tree/master/DLL/2015
I need some advices to generate clean installers, next step...
@PMoureu how can i help you generate clean installers? What is currently missing?
Hi Daren, thanks for the backing Mostly, i'm lacking time to get into innosetup, and packaging stuff... i managed to build the project because your config is ready-to-use by version, but i'm confused about selecting the right files for each release, with the different outputs, bin, obj...
Don't waste your time, i need to study this first
OK. When you have questions, just ask!
example: element.get_BoundingBox(). ... As soon as you hit dot revit crashes....
Consistently reproduced on 2015 + 2016