Python in Dynamo: The Boiler Plate

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 43

  • @markusgruber5965
    @markusgruber5965 11 месяцев назад +2

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

  • @syedaroushanarshid1696
    @syedaroushanarshid1696 10 месяцев назад +2

    Best Lectures! very helpful for beginners like me

  • @EduardoAlexanderVicenteVillanu
    @EduardoAlexanderVicenteVillanu Год назад +1

    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  Год назад

      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

  • @jessedellemann2939
    @jessedellemann2939 4 года назад +2

    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 года назад +2

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

    • @jessedellemann2939
      @jessedellemann2939 4 года назад +2

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

  • @ajayrajramaswami5862
    @ajayrajramaswami5862 Год назад +5

    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 года назад +2

    Awesome tutorial Gavin. Thanks for sharing! 😁

  • @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.

  • @kennethroxas5907
    @kennethroxas5907 2 года назад +1

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

  • @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 **

  • @asengemand121
    @asengemand121 3 года назад +1

    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 ++?

  • @yasarcepni2880
    @yasarcepni2880 4 года назад +2

    Great explanation!

  • @immi85
    @immi85 4 года назад +2

    Dir and __doc__ is quite handy. Again supper explained 👍

    • @AussieBIMGuru
      @AussieBIMGuru  4 года назад +2

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

  • @ATTechTutorials
    @ATTechTutorials 4 года назад +2

    Great introduction to Python Gavin! Very informative & helpful

  • @justinstirling5792
    @justinstirling5792 4 года назад +2

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

    • @AussieBIMGuru
      @AussieBIMGuru  4 года назад +1

      Just added my template to the misc repo on github.

    • @justinstirling5792
      @justinstirling5792 4 года назад +1

      @@AussieBIMGuru Thank you much!

    • @justinstirling5792
      @justinstirling5792 4 года назад

      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  4 года назад

      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 4 года назад +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!

  • @habibimonia4975
    @habibimonia4975 3 года назад +2

    merci beaucoup Gavin

  • @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.

  • @AliRahbarBIM
    @AliRahbarBIM 2 года назад +1

    amazing

  • @smitbangare9526
    @smitbangare9526 Год назад +1

    nice cat