architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
492 stars 112 forks source link

Cant seem to install #63

Open saapman opened 6 years ago

saapman commented 6 years ago

Hello, I use Revit 2017, I ran the installer for 2017, but i'm not seeing any Python shell buttons in the add ins tab. Any idea what the problem might be? p.s. Its on my work computer and all software is installed by IT support staff using administrator accounts. (I noticed there is no %APPDATA%\RevitPythonShellxxxx folder in my user folder , however i do have this folder: 'C:\Program Files (x86)\RevitPythonShell2017 ') . Thanks.

-saap

daren-thomas commented 6 years ago

Hello @saapman,

yes. I think I might know what the problem is - the addin file needs to be in your Autodesk\Revit\Addins\2017 folder. When your IT support staff installed the tool, it was created in the corresponding folder for the Administrator account. You could ask them to copy it for you.

saapman commented 6 years ago

Hi Daren,

Thanks for the response. I got it fixed. The add in needed to be copied to 'Users/****/APPDATA' root folder.

saapman commented 6 years ago

Hi Daren,

Sorry, My mistake. its not working after all. I put the 'RevitPythonShell2017' folder in AppData as well as in Addins/2017, and also copied the 3 files (init, RevitPythonShell and startup) to the Addins root folder. I was simultaneously installing PyRevit, and this is what started working when I copied it to my 'User/Appdata' folder. Any thoughts?

Best, Sandeep

daren-thomas commented 6 years ago

@saapman did you find a solution to this?

saapman commented 6 years ago

Hi Daren,

Thanks for following up. No I haven't been able to use the add in yet. I put the files in my user Autodesk\Revit\Addins\2017 folder but its not working.

Best, Sandeep

On Thu, Jan 4, 2018 at 5:38 PM, Daren Thomas notifications@github.com wrote:

@saapman https://github.com/saapman did you find a solution to this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/architecture-building-systems/revitpythonshell/issues/63#issuecomment-355283968, or mute the thread https://github.com/notifications/unsubscribe-auth/AFuXuewRvSedlPrFGXKpdeD-y2eBDC5Aks5tHNQ6gaJpZM4Pmvpg .

daren-thomas commented 6 years ago

What are the symptoms? Do you get an error message?

maltezc commented 6 years ago

Has Anyone gotten this to work yet?

I am in a similar position as i am on my work computer and trying to install RPS. I have pyRevit installed however I cant seem to get RPS installed. There is no error showing. Everytime i've moved the file locations, i've closed Revit and reopened but there is no luck unfortunately. I've tried the addins folder as you had stated in your second comment but no luck yet.

Right now im going through the potential addins file location as stated here:

https://gist.github.com/teocomi/5986db4eba261ec4baeb7325329aa226

if there is success, I will post...as well as pop a bottle of champagne since this has eluded me for over a year now :(

PMoureu commented 6 years ago

Hi @saapman @maltezc ,

I tried an install in the same context, with admin & user accounts, i could make it work by moving 2 things.

After a setup made by an admin account, i moved the files as following :

The main folder C:\Program Files (x86)\RevitPythonShell2017 remains unchanged.

Hope it can help you... (otherwise could you specify the folders structure ?)

daren-thomas commented 6 years ago

It seems the functionality to install for everyone is really important! I'll try and look into this soon! I'm terribly sorry for any inconveniences...