revitpythonwrapper icon indicating copy to clipboard operation
revitpythonwrapper copied to clipboard

import rpw crashes in Revit 2023 in revitpythonshell

Open jj-github-jj opened this issue 1 year ago • 2 comments

import rpw crashes in Revit 2023 in revitpythonshell import pyrevit works fine but import rpw crashes it I am using rpw that came with pyRevit v 4.8.14.24016 which is latest as Feb 2024 on windows 10

jj-github-jj avatar Feb 27 '24 18:02 jj-github-jj

Apologies this project is no longer maintained. py revit has much of the same functionality and maybe more

gtalarico avatar Feb 27 '24 22:02 gtalarico

Thank you for the update that this is no longer maintained. My notes for others in case they run into this issue since it seems to be working now. I dont know if this is what fixed it but seems to be working now. I did recently add the path to the downloaded repo as shown in https://revitpythonwrapper.readthedocs.io/en/latest/installation.html and maybe that step has fixed it but not sure and could have been other changes. The only other change I had to make was to rlcompleter.py

if namespace and not isinstance(namespace, dict): raise TypeError("namespace must be a dictionary") # CHANGE: changed this to comply with python 3

jj-github-jj avatar Mar 12 '24 20:03 jj-github-jj