pythonstubs icon indicating copy to clipboard operation
pythonstubs copied to clipboard

Question: Stand-alone Stubs (for Autodesk + Revit)

Open apsis0215 opened this issue 2 years ago • 0 comments

First off - thank you, great work- next I am learning how to install it in VS. I borrowed my stubs from PyRevit. Is there a way to make it stand alone?

I had to launch from a CMD that looked something like:

@echo off
setlocal 
set path=%path%;C:\Users\rallen\AppData\Roaming\pyRevit-Master\bin
cd c:
%userprofile%\AppData\Roaming\pyRevit-Master\bin
%userprofile%\AppData\Roaming\pyRevit-Master\bin\pyrevit-stubsbuilder.exe --dest="%userprofile%\AppData\Local\Programs\Python\Autodesk.Revit.R22" "C:\Program Files\Autodesk\Revit 2022\RevitAPI.dll" --search="C:\Program Files\Autodesk\Revit 2022" 

@echo complete
pause

apsis0215 avatar Sep 01 '22 00:09 apsis0215