Hi Gavin... Amazing series, thank you so much for all the content! I have one quick question: how do you see the difference between using dynamo/python in dynamo and pyrevit? Are there any advantages or disadvantages between dynamo and pyrevit, or is there a benefit to learning one over another? Cheers.
The main advantage to PyRevit is you can deploy your scripts and integrate them to toolbars - they're also a bit faster than Dynamo scripts. Some challenges you may face are the inability to use custom nodes as well as having to write entirely in Python. For medium to large scale firms it may be a good option, but keep in mind that your users probably wont want to learn how to edit scripts, so you would take on 100% of the responsibility probably versus using Dynamo.
This is a great work and really thanks for sharing. I would like to ask is the presentation file which you taught in this tutorial is available to download? It will be really helpful. Thanks.
Hello, I want to know if it is possible to use the List library and specifically the List.Deconstruct command within a python script. I've looked for a way to use it but I can't find a way to call the "List" library or the "Modify" sheet.
Not sure if you can get Dynamo List library but I expect you could from DSCore. May need to ask the forums. You can deconstruct a list using these syntaxes: lst[0] = first item lst[1:] = all but first item
Hi Gavin, do you know why Dynamo changes the Custom Node layout on 15:37? I have also the same problem. When I have a large script in a custom node, I save it and I open the custom node 4 days later. All the layout is changed and the nodes are above each other. Maybe you know the answer.
On a separate topic...do you happen to have any input on the discussion in the following forum post: discourse.pyrevitlabs.io/t/copy-sheets-and-floor-plan-views-that-exist-in-a-linked-model/117
Unfortunately I don't really use PyRevit very much as I haven't worked with teams computationally mature enough to deploy it yet as a workflow vs Dynamo. As Ehsan has said, moving views between models isn't possible if they have 2D/3D bearings. You would need to find a way to recreate the view which on most projects is quite unique, as projects have different scope box/level breakdowns. There isn't really a one size fits all solution here unfortunately, it would usually be project specific.
@@AussieBIMGuru got it, wasn't necessarily a pyRevit question, more of just a Python question since it seems you've got quite a good grasp on many concepts associated with it. Thanks though!
There is a node which can interpret C# from a string, but most people develop 'zero touch' nodes in this case instead as it provides more flexibility. There is a thread discussing it in more depth here; forum.dynamobim.com/t/c-csharp-in-dynamo/28689/4
Absolutly helpful! Thank you Gavin for your great intro! Love it!👍👍👍
You're welcome!
Best Lectures! very helpful for beginners like me
Glad it was helpful!
Hi Gavin... Amazing series, thank you so much for all the content! I have one quick question: how do you see the difference between using dynamo/python in dynamo and pyrevit? Are there any advantages or disadvantages between dynamo and pyrevit, or is there a benefit to learning one over another? Cheers.
The main advantage to PyRevit is you can deploy your scripts and integrate them to toolbars - they're also a bit faster than Dynamo scripts. Some challenges you may face are the inability to use custom nodes as well as having to write entirely in Python. For medium to large scale firms it may be a good option, but keep in mind that your users probably wont want to learn how to edit scripts, so you would take on 100% of the responsibility probably versus using Dynamo.
This is a great work and really thanks for sharing. I would like to ask is the presentation file which you taught in this tutorial is available to download? It will be really helpful. Thanks.
Youre welcome! I keep a copy of my boilerplate on my github here for reference:
github.com/aussieBIMguru/Misc
Awesome tutorial Gavin. Thanks for sharing! 😁
You're welcome!
Great introduction to Python Gavin! Very informative & helpful
Thanks Alan!
Awesome tutorials, it's a lot of help. thanks for sharing!
You're welcome!
Dir and __doc__ is quite handy. Again supper explained 👍
Cheers Immi, yes they're very handy for Revit API which is very much buried under the surface.
Very good explaination... Please do make more videos on python and looking forward for your advanced paid dynamo channel.. Thank you
A few more coming in next few months hopefully. Be sure to download my package 'crumple' - most of my videos will be based on nodes from here.
Hello, I want to know if it is possible to use the List library and specifically the List.Deconstruct command within a python script. I've looked for a way to use it but I can't find a way to call the "List" library or the "Modify" sheet.
Not sure if you can get Dynamo List library but I expect you could from DSCore. May need to ask the forums.
You can deconstruct a list using these syntaxes:
lst[0] = first item
lst[1:] = all but first item
Great explanation!
Thanks!
merci beaucoup Gavin
You're welcome!
Hi Gavin, do you know why Dynamo changes the Custom Node layout on 15:37? I have also the same problem. When I have a large script in a custom node, I save it and I open the custom node 4 days later. All the layout is changed and the nodes are above each other. Maybe you know the answer.
Unfortunately I don't, it happens to my nodes still - super annoying!
Aussie BIM Guru yes indeed, thanks for your answer ! Keep up the good work! ;)
amazing
Glad you like it!
Hi Gavin , I can not find templating file where is it ? in file "C\program file\...dynamo for revit a lot of files" which one?
It's typically in your dynamo appdata folder.
C:\Users\ ** your profile name ** \AppData\Roaming\Dynamo\Dynamo Revit\ ** version **
Gavin, do you have your boiler plate text somewhere online?
Just added my template to the misc repo on github.
@@AussieBIMGuru Thank you much!
On a separate topic...do you happen to have any input on the discussion in the following forum post:
discourse.pyrevitlabs.io/t/copy-sheets-and-floor-plan-views-that-exist-in-a-linked-model/117
Unfortunately I don't really use PyRevit very much as I haven't worked with teams computationally mature enough to deploy it yet as a workflow vs Dynamo.
As Ehsan has said, moving views between models isn't possible if they have 2D/3D bearings. You would need to find a way to recreate the view which on most projects is quite unique, as projects have different scope box/level breakdowns. There isn't really a one size fits all solution here unfortunately, it would usually be project specific.
@@AussieBIMGuru got it, wasn't necessarily a pyRevit question, more of just a Python question since it seems you've got quite a good grasp on many concepts associated with it. Thanks though!
Just one query, very new to dynamo. can you aso use C# language like python or only python in dynamo.
There is a node which can interpret C# from a string, but most people develop 'zero touch' nodes in this case instead as it provides more flexibility.
There is a thread discussing it in more depth here;
forum.dynamobim.com/t/c-csharp-in-dynamo/28689/4
Why would not just use the code block and write in c ++?
nice cat
Thanks!