Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revit Python Shell - Doesn't showup on revit ribbon #79

Closed
rahulchowdhary opened this issue May 22, 2018 · 15 comments
Closed

Revit Python Shell - Doesn't showup on revit ribbon #79

rahulchowdhary opened this issue May 22, 2018 · 15 comments
Assignees

Comments

@rahulchowdhary
Copy link

Hello,
i have installed RPS for revit 2018 but it Doesn't shows up on my revit ribbon.
Any ideas??
unbenannt

@eirannejad
Copy link
Contributor

Look under Add-ins tab. There should be a Revit Python Shell panel.

@PMoureu
Copy link
Contributor

PMoureu commented May 22, 2018

Hi
We need more details to help you out (windows version, what you did exactly...)

Have you multiple accounts on your Windows ? Like an administrator and other simple users ?
In this case, check this comment (just replace 2017 by 2018 in the different paths)

@rahulchowdhary
Copy link
Author

rahulchowdhary commented May 23, 2018

Hello,
I am using Windows 10 pro, Version: 1709 and yes i have multiple accounts as an Administrator and as simple user but i can Access both accounts.
So, My RPS is downloaded in _C:\Program Files (x86)\RevitPythonShell2018
and Revit 2018 is in _C:\Program Files\Autodesk\Revit 2018

i tried to copy it in addins located inside revit 2018 Folder but its not working either

Following are all the files extracted after Installation of RPS
unbenannt

@eirannejad
Copy link
Contributor

Hmmm. Let me look into this. It might be a path issue since there is no ‘program files’ and it is ‘programme’

@rahulchowdhary
Copy link
Author

rahulchowdhary commented May 29, 2018

i think the Problem might be that i am using different Versions of revit??
Do we have RPS Setup for the following revit versions (See pic)

2017
2018

@eirannejad
Copy link
Contributor

Good question. But I think since you already have pyRevit, the Revit LT is capable of loading addons. A quick fix would be to go under %programdata%\Autodesk\Revit\Addins or %appdata%\Autodesk\Revit\Addins, find the RPS.addin file, open in a text editor and correct the DLL path to point to the correct path on your machine.

@eirannejad eirannejad self-assigned this May 31, 2018
@eirannejad
Copy link
Contributor

I'll take a look at this over this weekend.

@rahulchowdhary
Copy link
Author

Hello,
Well it somehow workedout, i copied all the files related to RPS from my %temp% and pasted it into same Directory of my office System in which i couldn't install it properly.

Cheers

@jgunstone
Copy link

Hi there,

I'm trying to make the pythonrevitshell work also but nothing relating to pythonrevitshell is appearing in the add-ins tab (as shown here: https://www.youtube.com/watch?v=gC_Vpb527B8)

My Setup:
Windows7
Revit2018 installed
pyRevit installed

After running the installer (as administrator) a RevitPythonShell2018 folder appeared here:
C:\Program Files (x86)\RevitPythonShell2018
image

but nothing got added to the Addins folder:
C:\ProgramData\Autodesk\Revit\Addins\2018
image

i also checked the admin installer path:
C:\Users\jg.installer\AppData\Roaming\Autodesk\Revit\Addins
as suggested by @daren-thomas here #63 but there was also nothing relating to pythonrevitshell in there either.

any help / guidance greatly appreciated!

cheers

@CyrilWaechter
Copy link
Contributor

CyrilWaechter commented Jun 5, 2019

@gunstonej So strange to see my 5 years old video again XD.

It looks like for some reason the addin file was not created during the installation. Follow these steps for a quick fix :

  1. Create a file called RevitPythonShell2018.addin
  2. Add following code in it and save it :
<?xml version="1.0" encoding="utf-16" standalone="no"?>
<RevitAddIns>
  <AddIn Type="Application">
    <Name>RevitPythonShell</Name>
    <Assembly>C:\Program Files (x86)\RevitPythonShell2018\RevitPythonShell.dll</Assembly>
    <AddInId>3a7a1d24-51ed-462b-949f-1ddcca12008d</AddInId>
    <FullClassName>RevitPythonShell.RevitPythonShellApplication</FullClassName>
  <VendorId>RIPS</VendorId>
  </AddIn>
</RevitAddIns>
  1. Copy the addin file in your %APPDATA%\Roaming\Autodesk\Revit\Addins\2018. Revit should ask you to load RPS.

@jgunstone
Copy link

Hi @CyrilWaechter , its clearly a timeless classic ;)!
Thanks very much for the speedy response.

I added the RevitPythonShell2018.addin file:
image

Upon opening Revit i was asked if i wanted to load RevitPythonShell to which i said "Always Load".

I then got the following error:
image

I naively tried just changing the extension of the code you shared above from .addin to .xml and put it in the location that Revit was pointing at and got the following error:
image

.....

@CyrilWaechter
Copy link
Contributor

Please try to place the addin file in %APPDATA%\Roaming\Autodesk\Revit\Addins\2018 rather than in %ProgramData%\Autodesk\Revit\Addins\2018.

@AndreyArduino86
Copy link

AndreyArduino86 commented Dec 6, 2019

What needs to be downloaded, so that RPS2019 appears in the add-in?
After installing the RPS2019.exe file, nothing appears in the add-in input.

@SergeyBre
Copy link

@CyrilWaechter I'm sure you figured it out already a year ago, but it might be useful for others. I went through the same thing, a colleague of mine helped me to solve it.

  1. Go to C:\Users\username\AppData\Roaming and check if the folder RevitPythonShell2018 is there. If not - create one.
  2. go to: https://github.com/architecture-building-systems/revitpythonshell/tree/master/RevitPythonShell/DefaultConfig and create files with the same name in the folder that you just created (copy everything which is inside of those files).
  3. Run revit - RevitPythonShell should appear under Add-ins tab on the ribbon
    DefaultConfig

@davidvadkerti
Copy link

Thanks, the new path for 2022 version is with one additional subfolder for the version %AppData%\RevitPythonShell\2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants