No video

pyRevit 4.7-beta (Finally CPython!!!!)

  Рет қаралды 6,095

pyRevit

pyRevit

Күн бұрын

Пікірлер: 30
@teterposh7042
@teterposh7042 5 жыл бұрын
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
@vasilecorjan3631
@vasilecorjan3631 5 жыл бұрын
Awesome! Love Pyrevit and i hope that with Cpython implementation, pyrevit will reach great heights
@DClearEE
@DClearEE 4 жыл бұрын
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!
@pyRevit
@pyRevit 4 жыл бұрын
Thank you. Yes you would but what's the use case for compiling into bytecode under Revit?
@DClearEE
@DClearEE 4 жыл бұрын
​@@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?
@MegaToyy
@MegaToyy 5 жыл бұрын
Keep up the good work mate!
@WJMediia
@WJMediia 5 жыл бұрын
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.
@pyRevit
@pyRevit 5 жыл бұрын
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.
@WJMediia
@WJMediia 5 жыл бұрын
@@pyRevit Thank you so much, I truly appreciate it.
@jackenglish07
@jackenglish07 3 жыл бұрын
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
@pyRevit
@pyRevit 3 жыл бұрын
See this guide please www.notion.so/pyrevitlabs/Create-Your-First-CPython-Command-b8a7718c554645d1a18454c0b363e3c9
@user-wd5bk2mo4p
@user-wd5bk2mo4p 4 жыл бұрын
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")
@dungnguyenthanh6390
@dungnguyenthanh6390 4 жыл бұрын
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)
@dungnguyenthanh6390
@dungnguyenthanh6390 4 жыл бұрын
numpy and pandas is ok, but matplotlib not active on CPython engins 372
@pyRevit
@pyRevit 4 жыл бұрын
I'm reworking a new cpython into pyRevit and hopefully will update soon. It will include the latest 3.8 as well
@fathy272
@fathy272 3 жыл бұрын
Please, how can I get pyRevit plugin ??
@AngeloMastroberardino
@AngeloMastroberardino 4 жыл бұрын
Hi Ehsan, thank you for this video. Can you do the same thing with Anaconda3 instead of PIP3 ?
@pyRevit
@pyRevit 4 жыл бұрын
Possibly. Haven't tested to be honest.
@yanielllerena5075
@yanielllerena5075 5 жыл бұрын
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.
@pyRevit
@pyRevit 5 жыл бұрын
Should be resolved in next version. 4.7 is still in beta and has bugs
@yanielllerena5075
@yanielllerena5075 5 жыл бұрын
@@pyRevit great, thanks
@pretzelontour
@pretzelontour 5 жыл бұрын
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
@pyRevit
@pyRevit 5 жыл бұрын
It is defined in the executor code: github.com/eirannejad/pyRevit/blob/2a628bbfd879b2d02bcfff54ea26c42348f8f015/pyrevitlib/pyrevit/loader/basetypes/baseclasses.cs#L228
@pretzelontour
@pretzelontour 5 жыл бұрын
​@@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# : )
@dungnguyenthanh6390
@dungnguyenthanh6390 4 жыл бұрын
Hi! how can setup tab pyRevitDev?
@pyRevit
@pyRevit 4 жыл бұрын
Go to pyRevit Extensions window and activate the pyRevitDev extension
@antoniopiccinini6355
@antoniopiccinini6355 4 жыл бұрын
I instal pyRevit 4.7.3 in Revit 2020 but I don't see the Addin in the Ribbon. How can I solve?
@pyRevit
@pyRevit 4 жыл бұрын
Open a command prompt and run "pyrevit attach master 277 --installed"
@antoniopiccinini6355
@antoniopiccinini6355 4 жыл бұрын
@@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.
@antoniopiccinini6355
@antoniopiccinini6355 4 жыл бұрын
I send you a email with the screenshot of errors.
pyRevit 4.7.6 & Routes Framework
39:38
pyRevit
Рет қаралды 10 М.
Deploying pyRevit
1:01:30
pyRevit
Рет қаралды 4,8 М.
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 37 МЛН
Нашли чужие сети в озере..💁🏼‍♀️🕸️🎣
00:34
Connoisseur BLIND420
Рет қаралды 3,6 МЛН
GUI Basics: How does it really work?
43:26
pyRevit
Рет қаралды 9 М.
Python for Revit: Basics of collecting data from Revit database
1:03:57
pyRevit 4.6.9 and Keynote Manager Beta
55:55
pyRevit
Рет қаралды 8 М.
AI Rendering for Architects (Revit + Veras)
16:07
TheRevitKid
Рет қаралды 334 М.
Revit Floors & Patterns With pyRevit
20:07
BIMteriors
Рет қаралды 1,3 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 271 М.
DSPy Explained!
54:16
Connor Shorten
Рет қаралды 57 М.
Revit API Parameters: How to Get/Set Parameters with Python.
22:59
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 389 М.
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 37 МЛН