Adding User Interfaces to Dynamo Scripts (Presentation + Demo)

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 69

  • @alvernepaiva3287
    @alvernepaiva3287 3 роки тому +4

    Hell, this was one of the best videos od dynamo I watched in a long time!!!
    Awesome work my friend, gonna really look foward to new dynamo videos!!!

  • @AnjuRani-xq3pg
    @AnjuRani-xq3pg 2 роки тому +1

    Very educational video it really help me to learn about Dynmo

  • @kelcyo
    @kelcyo 9 днів тому +1

    Would you have an example of using "UI.Conditional Input Data" to provide or a video explaining how to use it? I couldn't find any documentation for it in my research.

    • @AussieBIMGuru
      @AussieBIMGuru  7 днів тому +1

      I've added a reference here:
      github.com/aussieBIMguru/Dynamo_Scripts/blob/master/ABG_240905_DSconitional.zip

  • @lulumarcano
    @lulumarcano 2 роки тому +1

    Very nice video. You really make my life easier

  • @carlosmunoz1041
    @carlosmunoz1041 3 роки тому +1

    Excellent video

  • @yevheniibatiievskyi
    @yevheniibatiievskyi 9 місяців тому +1

    strange error at the end of script - AttributeError: 'list' object has not attribute 'add'
    Even when Ia simplify the script to: Select Revision > Add Revision to Sheet > Watch

    • @AussieBIMGuru
      @AussieBIMGuru  9 місяців тому

      I have a full video on the workflow here which may help:
      ua-cam.com/video/kxZOOwgYyy0/v-deo.htmlfeature=shared

  • @nhanvohoang8935
    @nhanvohoang8935 3 роки тому +1

    You look cool with that hair style lol
    Btw, do you know how to get area of building on elevation. Thank you.

    • @AussieBIMGuru
      @AussieBIMGuru  3 роки тому

      Haha thanks! I think the only way to assess wall area on an elevation using dynamo is to get the direction of the view and isolate all walls visible in that view with a normal facing direction that is in the opposite direction. Dynamo for revit 2022 has a new node for view direction. One challenge you will face in this workflow is that Revit doesn't understand if something is 'blocked' from the view - it sees everything in its view range, so it would be a difficult task.

  • @tadeh1
    @tadeh1 4 роки тому +1

    My company is looking into using Data Shapes and Dynamo player for the average user to access the scripts. Which ties into company wide Dynamo deployment. Did you do any videos or see good resources on creating a deployment for Dynamo and its scripts for all users across multiple offices? Maybe a good video for down the road, hint, hint :)

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому

      Hi Tadeh, this probably goes above my territory - you're talking IT here rather than BIM.
      I would suggest you maintain a common new user image with packages, as well as provide training so users can install or update packages locally. I have tried common network package pathing, but always had issues as users often tried to install new packages.
      You could alwas set up a batch workflow that updates package folders and bulk installs packages requiring an install manually like orchid. Most capable IT managers should be able to do this for their teams hopefully.
      Also definitely look into data shapes new project in beta - Mostafa should be able to fill you in if you're interested. It relates to this topic.

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому +1

      Also check out this yourdesk webinar, which covers the topic to some degree - might be worth contacting Dana to get some help:
      ua-cam.com/video/KZWcs9nDbZU/v-deo.html
      I'd make a video but I'm worried I'll just get swamped with deployment questions and 'why can't I run X script on Y machine' type problems that are better solved by a company IT manager.
      Similar issue to making videos that use Orchid - half the video comments just become 'how do I install orchid?'!

    • @tadeh1
      @tadeh1 4 роки тому +1

      @@AussieBIMGuru thanks for the tip. You're right about the questions for deployment installs. The more you look into it the more it becomes a blackhole. Lol wish me luck!

  • @bigkieth23
    @bigkieth23 4 роки тому +2

    Hi Great video. Can you tell me where you got the first node from "View Sheet Set"?

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому

      Thanks! I believe I used archilab for this node.

    • @bigkieth23
      @bigkieth23 4 роки тому

      @@AussieBIMGuru Cheers mate, Last question, could I use this to add legends over multiple sheets and also how do you add an image to the UI box like you have done with the "Dynomite" image?

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому

      @@bigkieth23 yes dynamo can place legends, they are a bit like views. Check out the 'Viewport.Create' node in Rhythm - that should work.
      Data shapes could be used as a UI for this, I'd say a sheet list and legend dropdown might work well as options for the input.
      The image can be added using the 'logo_optional' field in the input++ node, just connect up a file path and it should show up.

  • @atnguyenthanh6802
    @atnguyenthanh6802 3 роки тому +1

    Hi, I am doing follow to you but i cannot file node view sheet set. What package is the node in? Thank you for this usefull video. Hope you will make more dynamo video.

    • @AussieBIMGuru
      @AussieBIMGuru  3 роки тому

      This node comes from the Orchid package.

  • @jaiminparmar4917
    @jaiminparmar4917 Рік тому

    Is there a way to organise your sheets using dynamo? At the moment im using a spreadsheet but id love to be able to automate it by pulling words from my sheets and using that to fill in the parameter

    • @AussieBIMGuru
      @AussieBIMGuru  Рік тому

      Generally youd be limited to sorting the browser by a parameter value so you'd need to get words to put into those parameters. The hard thing with that is those words generally would come from parameter values, tags etc.

  • @sarabenlashihar2918
    @sarabenlashihar2918 Рік тому

    Unfortunately, I can't find this package from dls.... Is not available anymore?

  • @TyreeArt
    @TyreeArt 4 роки тому +1

    Is there a more in-depth tutorial on staging Data-Shapes UI? For instance, popping up a second window after the first or displaying a message to the user (like for an error) and letting them try again without removing text they have typed in?

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому +2

      Hi Matt, the only 2 stage UI I have on my videos is in this tutorial;
      ua-cam.com/video/PhLWbLJ5Ags/v-deo.html
      Error handling is an interesting idea although hard to detect (what consititues an error varies script to script). You'd almost need a 'terminate' based If pathway to block the script from properly executing I think as Dynamo data flow typically can't recur (can't return to an earlier node that has been run).

    • @TyreeArt
      @TyreeArt 4 роки тому +1

      @@AussieBIMGuru Yeah, "error" is a strong word when talking about programming. In this case, it's a check I'm running myself to make sure the user doesn't try to create a type with the same name as an existing one. I want to tell them the name is already in use and present them with another chance to change the name instead of just starting over again. Which arguably isn't the end of the world when just duplicating an element with a new type name, but still. :-D

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому

      @@TyreeArt interesting... you could always duplicate your UI, run a 'list.contains' check on their name vs. Existing names list after the first UI, then use this boolean to trigger the 'toggle' of the backup UI. They'd only have one second chance though (or as many as you set up this way). I think it would be easier to just use a 'simple user message' from rhythm packags to tell them they made an error, to run it again and check type names first.

    • @TyreeArt
      @TyreeArt 4 роки тому

      @@AussieBIMGuru This is pretty much EXACTLY what I did, even the Simple User Message node. :-D
      I gave them one second chance and then displayed the message. I don't think they'll ever need more than one extra chance. If so, that's on them. :-D
      forum.dynamobim.com/t/data-shapes-ui-on-error-return-message-to-user-and-let-them-try-again/42279/4

  • @logan4292
    @logan4292 4 роки тому +1

    Awesome video! Was wondering if you could provide a link or download to the script for batch printing using the UI? Or the packages used to create it? This would be extremely helpful for our firm, thank you.

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому

      Unfortunately this script was built for my company so I'm unable to share this specific one.
      I do however have a video showing the script building process (aside from the front end UI): ua-cam.com/video/VO2WqR7FzXU/v-deo.html
      There's some configuration required with plotters to get it to work, if you use Adobe PDF you need to supress the file path request under its printer preferences. Each plotter has various quirks, for example the one in the tutorial I use (bioPDF) struggles to point the files to the right destination so intervention is needed.
      Hope that helps point the team towards a version they can develop!

    • @logan4292
      @logan4292 4 роки тому +1

      @@AussieBIMGuru Thank you very much!

    • @logan4292
      @logan4292 4 роки тому +1

      @@AussieBIMGuru Hello again, I have been working on the new UI using Data-Shapes and was wondering if you could make a video going a little more in-depth with creating multiple UI's in the same script (for example selecting a category in the first UI, then in the second UI you can select from multiple elements in that specified category). It's just a little confusing building this UI into previous scripts. I feel like this new UI is critical for any firm that uses Dynamo, as it is much more simple and not everyone in the office has the time to learn Dynamo. From my searches online I can not find anyone who has videos dealing with Data-Shapes UI, it would be extremely helpful if you have time. This UI is the key to future workflows. Thank you again for all of your videos.

    • @AussieBIMGuru
      @AussieBIMGuru  4 роки тому

      @@logan4292 from time to time I'll include UI in my tutorials, I agree it's important for most scripts.
      I actually have a 2 stage UI tutorial in this one here; parameters > values is the staging in this case:
      ua-cam.com/video/PhLWbLJ5Ags/v-deo.html

  • @WeBIMVietnam
    @WeBIMVietnam 3 місяці тому

    Is Data Shapes package available for Dynamo Core?

    • @AussieBIMGuru
      @AussieBIMGuru  3 місяці тому

      Not that I am aware of. I believe it is written for revit and civil3d specifically.

  • @yevheniibatiievskyi
    @yevheniibatiievskyi 9 місяців тому

    View Sheet Set - where to find this node? which package has it?

    • @AussieBIMGuru
      @AussieBIMGuru  9 місяців тому

      Archilab should have that one.

    • @yevheniibatiievskyi
      @yevheniibatiievskyi 9 місяців тому +1

      @@AussieBIMGuru oh yeah. Just found that node with a completely different name (after two hours of raw anger, emotions and frustration)

    • @AussieBIMGuru
      @AussieBIMGuru  9 місяців тому

      @yevheniibatiievskyi mm i generally reduce package use in my videos these days. For most of my tutorials (not presentations) I note packages used. This one was an exception as it was a broader preso i did in person first, apologies.

    • @yevheniibatiievskyi
      @yevheniibatiievskyi 9 місяців тому +1

      @@AussieBIMGuru even though, your video helped me a lot, so, thanks for your info.

    • @yevheniibatiievskyi
      @yevheniibatiievskyi 9 місяців тому

      @@AussieBIMGuru I'm newbie in Dynamo.)

  • @clement8206
    @clement8206 5 років тому +1

    Hello, great video ! Can you make a video about XAML, WPF and Dynamo if you know someting about it please ?

    • @AussieBIMGuru
      @AussieBIMGuru  5 років тому +1

      Thanks! Unfortunately I'm not yet C++ literate so XAML based UI is outside my skill set. I am aware of the applications however, although Data shapes fills this void for my skills in many cases.
      It is a worthwhile/under covered topic however, so should my skill set expand to this I will keep the request in my mind!
      I did find a fairly hands on demo of how to set up XAML using visual studio here if it helps:
      ua-cam.com/video/ckcqm6rqPB8/v-deo.html

  • @BrodiScott
    @BrodiScott 2 роки тому

    Sample script link is broken...

    • @AussieBIMGuru
      @AussieBIMGuru  2 роки тому +1

      Yeah I moved most of my stuff to github as google drive is pretty rubbish!
      github.com/aussieBIMguru

  • @toannghiale8064
    @toannghiale8064 Рік тому

    Really awesome your work, thank you a lot.
    I was wondering if you could make a video about creating a family of windows that can change the form with parameters and we have a user interface that we can enter the data like length, width, door leaf, etc..., in a way, a custom made window?

    • @AussieBIMGuru
      @AussieBIMGuru  Рік тому

      Too complex for youtube, would need an addin with wpf windows probably - consider looking into wpf interface creation if youre up for it (it is complex).

    • @toannghiale8064
      @toannghiale8064 Рік тому

      @@AussieBIMGuru thanks for your reply!!
      or juste create a window or door with the Revit API via Python and Dynamo? you think it's possible?

    • @AussieBIMGuru
      @AussieBIMGuru  Рік тому

      @@toannghiale8064 probably would be, but a lot of work versus having a suitable family made already and just adjusting its parameters to make new types. There are some addins out there that work that way I think, dont believe you could make a window with geometry, constraints etc using dynamo on its own.
      It sounds like youre trying to make the window editor from archicad in revit...

    • @toannghiale8064
      @toannghiale8064 Рік тому

      @@AussieBIMGuru yeah, I know it´s complicated and demande lots of works.
      By the way, do you know the name of addins that you mentioned in your last comment? Pls

    • @toannghiale8064
      @toannghiale8064 Рік тому

      @@AussieBIMGuru i know that, there is a package called data-shapes that can helps us to make an interface window or user.

  • @sonlamhoang5832
    @sonlamhoang5832 3 роки тому

    Hi Aussie BIM Guru, thank you for your sharing! I can't find the "Sample scripts from presentation" anymore. Could you update this link again! Big thank!

    • @AussieBIMGuru
      @AussieBIMGuru  3 роки тому

      Unfortunately I lost the work for this in a harddrive corruption, but it's quite similar to this detailed version I recorded earlier on here;
      ua-cam.com/video/8HS1reV4Iw0/v-deo.html
      I have a version I'll release early next year as part of a 'remake' tutorial, but it's a bit different to how I do it in this presentation. Hopefully around Feb/March.

    • @sonlamhoang5832
      @sonlamhoang5832 3 роки тому

      @@AussieBIMGuru I got it, I'm looking for your video.
      ...
      I have a situation, can we run dynamo script step by step.

    • @AussieBIMGuru
      @AussieBIMGuru  3 роки тому +1

      @@sonlamhoang5832 unfortunately not, a script usually runs start to finish. The only way around this is to use branching pathways and If/then/else logic to block certain data under a particular scenario, but it's quite messy to set up.
      .If possible, I'd suggest breaking a script into separate ones to be run in Dynamo Player in succession. To carry data from one script to another you could always use excel.

    • @sonlamhoang5832
      @sonlamhoang5832 3 роки тому

      @@AussieBIMGuru Thank you!!! Can we copy/monitor Grid and Level by Dynamo?

    • @AussieBIMGuru
      @AussieBIMGuru  3 роки тому +1

      @@sonlamhoang5832 i believe it's still not exposed in revit api unfortunately;
      forums.autodesk.com/t5/revit-ideas/copy-monitor-api/idi-p/6322737