Open RichardPinka opened 2 months ago
Hi @RichardPinka, thanks for your feedback on my extension project 😉
I will investigate this problem. Have you tried uninstalling your RevitAPIStubs and PyRevit. Then run the extension and follow the prompts to install PyRevit and Revit API Stubs ?
I think the problem actually comes from the installation path I set by default in %APPDATA% but it's possible the path may be different because defined by the user.
I'll try to fix it quickly but I can't promise anything for now. I'm developing this project in my spare time, so development will be a little slower.
hello @baptistelechat
i may try inunistall PyRevit. but i do not have any possibility to uninstall RevitAPIStubs .. In uninstal programs feature this tool is missing for uninstalling.
i may only delete if from %appdata% folder
ps. i remebered the manual how i start the connection is made ba Erik Frits https://www.youtube.com/watch?v=N6colO7rPWo
and by the way, there are two versions of pyrevit for installing, maybe there is reason to specify one of it
so i uninstall pyrevit, removed api stubs, and install them back again. no change. still the annoying quesiton in VSCode exists.
hello, one more thing. I am not sure if now all works , e.g. Function "FilteredElementCollector" is not showing in autocomplete window. it prbably should . EDIT: no. sorry, when i wrote code : from Autodesk.Revit.DB import * That function has began to bee visible in the autocomplete list.
in settings.json file in Pyhton plugin i see, that one group of links is grayed out comparing the second group. .. i thing this was not before.
Hello, i am very glad and happy that there exist someone who is developing some kind of connection in VS code for pyRevit.
the issue i experience is : (are two to be exact)
the first one : "pyrevit is required to use PyRevit-with-vscode. Do you want to download it now? " ... actually, i have this downloaded and installed (the newest PyRevit from its depository). so i do not want to do anything with this.
the second one: after opening VS code, it asks me, which API for Which Revit will i use. (by clicking the proper revit versions in upper window) but when i set anything there, it just stops working. I had to rewrite the links in some json settings file on my own to make it work (according some web manual for it ) but i dont have note for it, even not sure in which file this edit has been done (my memory)
So i do not want to enter any type of revit on opening the VS code, because it rewrites my settings and it just breaks down.
in C:\Users\richa\AppData\Roaming\RevitAPI stubs
i have folders like RVT 20, RVT 21 and so on...
my pyrevit plugin is installed onto : C:\Program Files\pyRevit-Master
also in C:\Users\richa\AppData\Roaming\ i have another folder pyRevit
======= i think becasuse your plugin count just with some "typical" placement of all necessary files and folders of PyRevit,
and i cannot guarantee, that my placement is typical. (but i did not change anything within installation procedure as far as i know)
it would be nice, to have the option to set the places of all install places (pyrevit master file, RevitAPI stubs, ...) by me and do not change it
what do you want to know more ?
ps. it is strange that aplication cannot shiff my installation out in appdata folder (attention, it is , AppData\Roaming folder , not just AppData folder ! but i did not change this ever) because it just exists there: