I am trying to import Revit and Dynomo modules to visual studio with out any success. I tried a couple of ways:
I added the path in Environment Variables to the “DynamoForRevit” folder from the Revit 2020 folder in program files, both on the system and on user. In both cases, the path doesn’t show in the directory when printing the system paths.
![image|607x500](upload://6NDEMwIfnKPNM7srI51PPafQbrr.png) *Environment Variables: Added DynamoForRevit to boths system and user. ![image|690x107](upload://o908UOSOLyhZMng7vDq0ZDWntKm.png) *sys.paths
When Adding the python environment to the project solution, I added the path to the “DynamoForRevit” file.
I have noticed from many threads existing the people are pointed to file-Preferences-Json (or something like that) but I do not have that option. The only reference to Json settings is as in the following pic.
![image|690x388](upload://ePe2uGF1SM1ksTVeNQqefFCtwk6.png) *No reference to "Preference/Settings". ![image|690x409](upload://1H4HsTQoDxKBy86oZlXhT9lJNu9.png) *The only reference to Json Settings...
I would really like to use visual studio for typing the Python codes for Dynamo so appreciate any help!