![]() ![]() NET libraries like mscorlib (for List)), I assume it fails because they are compiled from C# language. Great News.įor the Revit folder (and also for Microsoft. UPDATE : After having added Pyrevit folder to the project strucute AND mark it as Source Folder AND click on Files -> Invalidate caches/restart, the import of pyRevit is OK. How can I help Pycharm to read these libraries correctly, delete all import errors and ease auto completion and development ? I wonder if Revit libraries are protected but in this case, it should work with pyRevit and System, at least. So everything is flagged as "Unresolved Reference", even the System import. Here it is, with the failing imports on the right side (not enough reputation to post pictures so here is a link) Once done, they appear on the project root. I also try to add these folders in Files -> Settings -> Project Structure -> Add Content root. Paths are: C:\Users\***\AppData\Roaming\pyRevit-Master\bin I already try to add the folder's path to Files -> Settings -> Project Interpreter -> Interpreter path, then mark the folder as a source folder (Right click -> Mark Directory As -> Source Root), then Invalidate Cache / restart. Otherwise, the module is already working on Revit so imports go well when using it. When I try to import libraries, I have a "Unresolved reference" error message. However, although I can download the installer and it finishes its process, the plugin will not sync/boot into Revit. ![]() From all the tutorials I've watched, the pyRevit plugin is the best way to convert them from 2D geometry into reusable patterns. pyRevit allow me to code in Python, which I do with P圜harm IDE. pyRevit I am trying to create custom fill/hatch patterns. ![]() As I already use some answers from a lot of people, I would like to start by thanking all of you.Ĭontext : I'm developing a module for Revit, and for this, I'm using pyRevit to exchange with the Revit API. This is my very first question here, hope won't be my last. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |