ironpython-stubs icon indicating copy to clipboard operation
ironpython-stubs copied to clipboard

Installing IronPython in VScode

Open lbhardwa opened this issue 3 years ago • 3 comments

Can anybody guide me how to install ironpython stub in vscode. I tried lot of times but its not happening.

lbhardwa avatar Apr 13 '21 01:04 lbhardwa

You can refer to this Youtube video. Although it is in Korean, you will get the idea.

kevinjyh avatar Aug 22 '21 18:08 kevinjyh

Thanks Kevin. Let me try.

Thanks & Regards

Love Bhardwaj

On Monday, August 23, 2021, 12:26:09 AM GMT+5:30, Kevin ***@***.***> wrote:  

You can refer to this Youtube video. Although it is in Korean, you will get the idea.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

lbhardwa avatar Aug 23 '21 02:08 lbhardwa

please add this to the docs - Before you can import clr you must install pythonnet (maybe other packages have clr as well but this one worked for me) . Next you have to make sure that path to file RevitAPI.dll is in your sys.path #%pip install pythonnet import clr import sys sys.path.append(r'D:\Program Files\Revit 2024') clr.AddReference('RevitAPI') from Autodesk.Revit.DB import Electrical

s-github-2 avatar Jan 01 '24 22:01 s-github-2