Skip to content

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

@apsis0215

Description

@apsis0215

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions