The stubs export- I am missing something. I got back to the original posters stub reference here:
Cleaned up the previous posts and this is mostly working…
Revit Python in Visual Studio Revit Stubs 2022 for Python Revit Intellisense
Coding in python and fighting the #Autodesk Python basic editor with all the Case Sensitive syntax I decided to use Visual studio to code/debug. Problem is I was missing stubs. Grabbed them from the gtalarico GIT iron python stubs through a Visual studio Community 20220 CLONE in Visual Studio Community 2002:
Adding the references to Visual studio:
Add Stubs Path to the top-level folder containing stubs(4) along with the Autodesk revit generated Stubs(5) and some GIT HUB Cloned Iron Python Stubs(6) and the general iron python stubs (7)(see below):
STUBS PATH:
C:\Users\rallen\source\repos\ironpython-stubs\release\stubs
SEARCH PATHS:
C:\Users\rallen\source\repos\ironpython-stubs\release\stubs\Autodesk
C:\Users\rallen\source\repos\ironpython-stubs\release\stubs\DSCore
C:\Users\rallen\source\repos\ironpython-stubs\release\stubs\IronPython
C:\Users\rallen\source\repos\ironpython-stubs\release\stubs\Revit
C:\Users\rallen\source\repos\ironpython-stubs\release\stubs\RevitServices
NOTE:
%userprofile% didn’t appear to work in the settings an the Semicolon “;” was easiest to separate the values. Next check the semicolons were changed to linefeed/breaks for readability.
Still have a few stragglers - bay be a stubs I need to add?