Python in Dynamo: The Boiler Plate

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024

ความคิดเห็น • 43

  • @markusgruber5965
    @markusgruber5965 9 หลายเดือนก่อน +1

    Absolutly helpful! Thank you Gavin for your great intro! Love it!👍👍👍

  • @syedaroushanarshid1696
    @syedaroushanarshid1696 8 หลายเดือนก่อน +1

    Best Lectures! very helpful for beginners like me

    • @AussieBIMGuru
      @AussieBIMGuru  8 หลายเดือนก่อน

      Glad it was helpful!

  • @matthewrosser8052
    @matthewrosser8052 3 ปีที่แล้ว +4

    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.

    • @AussieBIMGuru
      @AussieBIMGuru  3 ปีที่แล้ว +2

      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.

  • @ajayrajramaswami5862
    @ajayrajramaswami5862 ปีที่แล้ว +4

    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.

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว +1

      Youre welcome! I keep a copy of my boilerplate on my github here for reference:
      github.com/aussieBIMguru/Misc

  • @erjuico
    @erjuico 4 ปีที่แล้ว +1

    Awesome tutorial Gavin. Thanks for sharing! 😁

  • @ATTechTutorials
    @ATTechTutorials 4 ปีที่แล้ว +1

    Great introduction to Python Gavin! Very informative & helpful

  • @kennethroxas5907
    @kennethroxas5907 2 ปีที่แล้ว

    Awesome tutorials, it's a lot of help. thanks for sharing!

  • @immi85
    @immi85 4 ปีที่แล้ว +1

    Dir and __doc__ is quite handy. Again supper explained 👍

    • @AussieBIMGuru
      @AussieBIMGuru  4 ปีที่แล้ว +1

      Cheers Immi, yes they're very handy for Revit API which is very much buried under the surface.

  • @ravichandra-up1nu
    @ravichandra-up1nu 3 ปีที่แล้ว

    Very good explaination... Please do make more videos on python and looking forward for your advanced paid dynamo channel.. Thank you

    • @AussieBIMGuru
      @AussieBIMGuru  3 ปีที่แล้ว

      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.

  • @EduardoAlexanderVicenteVillanu
    @EduardoAlexanderVicenteVillanu 11 หลายเดือนก่อน

    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.

    • @AussieBIMGuru
      @AussieBIMGuru  11 หลายเดือนก่อน

      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

  • @yasarcepni2880
    @yasarcepni2880 4 ปีที่แล้ว +1

    Great explanation!

  • @habibimonia4975
    @habibimonia4975 3 ปีที่แล้ว +1

    merci beaucoup Gavin

  • @jessedellemann2939
    @jessedellemann2939 4 ปีที่แล้ว +1

    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.

    • @AussieBIMGuru
      @AussieBIMGuru  4 ปีที่แล้ว +1

      Unfortunately I don't, it happens to my nodes still - super annoying!

    • @jessedellemann2939
      @jessedellemann2939 4 ปีที่แล้ว +1

      Aussie BIM Guru yes indeed, thanks for your answer ! Keep up the good work! ;)

  • @AliRahbarBIM
    @AliRahbarBIM 2 ปีที่แล้ว +1

    amazing

  • @sherkhankulbeav132
    @sherkhankulbeav132 3 ปีที่แล้ว

    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?

    • @AussieBIMGuru
      @AussieBIMGuru  3 ปีที่แล้ว

      It's typically in your dynamo appdata folder.
      C:\Users\ ** your profile name ** \AppData\Roaming\Dynamo\Dynamo Revit\ ** version **

  • @justinstirling5792
    @justinstirling5792 3 ปีที่แล้ว +1

    Gavin, do you have your boiler plate text somewhere online?

    • @AussieBIMGuru
      @AussieBIMGuru  3 ปีที่แล้ว +1

      Just added my template to the misc repo on github.

    • @justinstirling5792
      @justinstirling5792 3 ปีที่แล้ว +1

      @@AussieBIMGuru Thank you much!

    • @justinstirling5792
      @justinstirling5792 3 ปีที่แล้ว

      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

    • @AussieBIMGuru
      @AussieBIMGuru  3 ปีที่แล้ว

      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.

    • @justinstirling5792
      @justinstirling5792 3 ปีที่แล้ว +1

      @@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!

  • @asengemand121
    @asengemand121 3 ปีที่แล้ว

    Just one query, very new to dynamo. can you aso use C# language like python or only python in dynamo.

    • @AussieBIMGuru
      @AussieBIMGuru  3 ปีที่แล้ว +1

      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

    • @aethelwolfe3539
      @aethelwolfe3539 2 ปีที่แล้ว

      Why would not just use the code block and write in c ++?

  • @smitbangare9526
    @smitbangare9526 ปีที่แล้ว +1

    nice cat