pythonstubs
pythonstubs copied to clipboard
Question: Stand-alone Stubs (for Autodesk + Revit)
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