Thank you for keeping this great project alive and updated! I worked with PyRevit as part of my bachelor thesis last year. Your videos and the docs are clean and on point :) they really helped me getting into it
@vasilecorjan36315 жыл бұрын
Awesome! Love Pyrevit and i hope that with Cpython implementation, pyrevit will reach great heights
@DClearEE4 жыл бұрын
Will we be be able to compile our code into bytecode by writing it in Cython first? I'm very new to the concept of CPython and Cython but it seems like this may open the door to using Cython to precompile the code. Long live PyRevit! Thanks for all your amazing work!
@pyRevit4 жыл бұрын
Thank you. Yes you would but what's the use case for compiling into bytecode under Revit?
@DClearEE4 жыл бұрын
@@pyRevit I could see it as a way sensibly protect propriety python code. Of course I also realize this kinda of goes against the open source of PyRevit. Would it also make the code slightly fast being pre compiled?
@MegaToyy5 жыл бұрын
Keep up the good work mate!
@WJMediia5 жыл бұрын
Hi Ehsan, I couldn't find a way to contact you, so I decided to ask my question here. I am very new to Revit API and I am trying to access the the top face of walls in a project, the problem is I can access the side faces but the top face is not accessible by "GetTopFaces Method", as the wall class does not support this method. could you please mention a way on how to access the top face a wall. Your help is appreciated.
@pyRevit5 жыл бұрын
Yes the HostObjectUtils does not return any top faces for a wall object because walls can not host anything on their top or bottom faces. Only side faces. You need to get the Geometry of the wall (www.apidocs.co/apps/revit/2016/d8a55a5b-2a69-d5ab-3e1f-6cf1ee43c8ec.htm) and find the top surfaces.
@WJMediia5 жыл бұрын
@@pyRevit Thank you so much, I truly appreciate it.
@jackenglish073 жыл бұрын
In your script you set the UIApplication, __revit__ = sys.host, but sys doesn't seem to have an attribute .host in Python 3.7.2
@pyRevit3 жыл бұрын
See this guide please www.notion.so/pyrevitlabs/Create-Your-First-CPython-Command-b8a7718c554645d1a18454c0b363e3c9
@user-wd5bk2mo4p4 жыл бұрын
Nowdays, I am trying to use CPython, But "Matplotlib" module can not working on it. T^T (error massage is shown like this, " type object 'Path' has no attribute 'home")
@dungnguyenthanh63904 жыл бұрын
Hi Ehsan! Why setting in pyrevit only have 2 options for CPython (372 and 368). Ex I using python 3.8.4. I download embeded engines but can not load on pyrevit (ver python 3.7.2 is ok)
@dungnguyenthanh63904 жыл бұрын
numpy and pandas is ok, but matplotlib not active on CPython engins 372
@pyRevit4 жыл бұрын
I'm reworking a new cpython into pyRevit and hopefully will update soon. It will include the latest 3.8 as well
@fathy2723 жыл бұрын
Please, how can I get pyRevit plugin ??
@AngeloMastroberardino4 жыл бұрын
Hi Ehsan, thank you for this video. Can you do the same thing with Anaconda3 instead of PIP3 ?
@pyRevit4 жыл бұрын
Possibly. Haven't tested to be honest.
@yanielllerena50755 жыл бұрын
Great work with this version. I have a problem, I´ve installed pyRevit 4.7 beta but the addin only shows in Revit 2018 not in 2019.
@pyRevit5 жыл бұрын
Should be resolved in next version. 4.7 is still in beta and has bugs
@yanielllerena50755 жыл бұрын
@@pyRevit great, thanks
@pretzelontour5 жыл бұрын
How do you connect to the running Autodesk.Revit.Application instance with Cpython? from what i can see you have defined the instance with __revit__ but i can't figure out/find out where that object is defined : | Any help or tips would be greatly appreciated
@pyRevit5 жыл бұрын
It is defined in the executor code: github.com/eirannejad/pyRevit/blob/2a628bbfd879b2d02bcfff54ea26c42348f8f015/pyrevitlib/pyrevit/loader/basetypes/baseclasses.cs#L228
@pretzelontour5 жыл бұрын
@@pyRevit Thanks for the answer. I was hoping i could connect to the revit api with spyder so i could test my code with numpy and so on, but from what i understand from the linked code you are passing a c# object to python. i was hoping for a simpler way, especially when I do not know C# : )
@dungnguyenthanh63904 жыл бұрын
Hi! how can setup tab pyRevitDev?
@pyRevit4 жыл бұрын
Go to pyRevit Extensions window and activate the pyRevitDev extension
@antoniopiccinini63554 жыл бұрын
I instal pyRevit 4.7.3 in Revit 2020 but I don't see the Addin in the Ribbon. How can I solve?
@pyRevit4 жыл бұрын
Open a command prompt and run "pyrevit attach master 277 --installed"
@antoniopiccinini63554 жыл бұрын
@@pyRevit Done, but I don't solve. Now when I open revit2020 apear a large errore message. How can I send this message? I can't copy the text but I made a screenshot.