Batch Print using Dynamo!

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

КОМЕНТАРІ • 95

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

    Thank you for this video, recently started learning dynamo and this made me understand the list node system alot better.

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

      You're welcome! Feel free to check out lesson 4 in my dynamo learning playlist - it focuses specifically on list management and related nodes, might help too.

  • @timmcguire9831
    @timmcguire9831 5 років тому +2

    Hello from Adelaide mate!
    Nice Dynamo / Revit tutorials mate. Probably some of the best on youtube.
    I have been looking at a batch printing workflow similar to what you have here (but using the archilab node). I found that if you use PDF Creator and set it's print setting to:
    Saved path:
    File name:
    As well as having the combined boolean input set to true (even though it's broken in the archilab package)
    It will populate the pdfs in the correct directory with the correct name. So you only need to run one script.
    Maybe you have improved this workflow by now, but if you are interested I can share it with you.
    You've provided a lot of great content and ideas on this channel.
    Keep up the good work!

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

      G'day Tim - great to hear from a fellow Adelaidean (I lived in Adelaide from birth until 2015!). My first project out of Uni was the NRAH - a great kickstart to the BIM side of my career.
      Thanks for the pointers, I found the same when I revisited this script using Adobe PDF as my plotter and found the directory/file path worked as opposed to my plotter in this video.
      I believe Genius Loci actually derived the PDF plotting node from archilab so it would make sense that both perform similarly!
      Thanks for the support, much more to come in future.

  • @jebclang9403
    @jebclang9403 Місяць тому +1

    16:00 Going from nerdy to leather jacket f*ckboi in 1 second 😲🤣

    • @AussieBIMGuru
      @AussieBIMGuru  Місяць тому

      Haha got a good laugh out of me there!

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

    Great Video, thank you! I am very new to Dynamo so I had to re-watch a few times but I got there in the end.

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

      Nice work! This is a fairly tricky workflow for a newcomer to Dynamo. I suggest checking out Dynamo Primer and maybe my learning series to tackle fundamentals first before taking on bespoke workflows.

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

      @@AussieBIMGuru Thanks for the advice. I'll definitely check them out.

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

      @@AussieBIMGuru I would like to distribute this script to other members of staff in the office. Is there a way to get this to work on their computers without requiring them to download all of the packages?

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

      @@thomashowes5838 the only way is to copy the node contents onto the canvas instead. The genius loci node should be able to be copied from the node, but some might be zero touch.
      Alternatively, try out Prosheets by Di roots. Its an addin but its free.

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

      @@AussieBIMGuru Thanks for highlighting Di Roots. They have some great tools!

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

    I am recently finding a way simply batch print sheets pdf with number and name. It should be something very basic but it is harder than I thought. Revit keeps printing a prefix for the individual pdf file name. This video is a good start for me.

  • @OOOAjayPrakashK
    @OOOAjayPrakashK Рік тому +1

    which version of genius loci have you used ? because Exporting pdf is not available before 2022. Also Revit developers provided Export pdf spec in Revit API for 2022 or above version. for below versions I need printing so for that I need which version have you used for Genius Loci, For that printer setting node and printer name selection node. I am using Revit 2021. Can you please provide that?

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

      Its been ages so cant remember unfortunately. Yeah export pdf only works in 2022 plus and personally i found lots of issues with it crashing for large prints. I developed a printer in python for my firm and stuck with the printing API even in 2022+ because of that. Try archilab if you cant find the build of genius loci as it has printing nodes also.

  • @rafaelalvarezsoto4358
    @rafaelalvarezsoto4358 4 роки тому +4

    Thank you for showing this amazing tutorial. Does the script batch print in different sheet sizes in one go? lets say you order it to print all sheets, ranging from A0 to A3.

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

      Not the way it's built currently, you could read the titleblock on each sheet to get the right print setting however.

    • @davidg939
      @davidg939 3 роки тому +2

      @@AussieBIMGuru If you could upgrade it to do so someday, it would be great! ;)

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

      @@davidg939 it's on the list :)
      Late this year or early next most likely.

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

      @@AussieBIMGuru Wow, great!

  • @danieltrevijanostehle7829
    @danieltrevijanostehle7829 3 роки тому +2

    Hi everyone, I have successfully create this Dynamo script but unfortunately when I try to "Rename" it on Dynamo player by setting it up as False nothing changes. It doesn't give any error, actually is Run Completed on green, but nothing changes.
    In the other hand, I have been running the new BatchPrinting (2020 Update) and I have realize it has changed quite a lot from what I can see on this video. I can't find the Directory Path on dynamo for example. I just wanted to ask which buttons should I set up as In put to run it with Dynamo Player or if you are planning to drop a video for the Batch Printing script update.
    Thank you so much!!

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

      These days I actually use Prosheets by diroots for most of my batch printing needs (free, naming rules etc).
      Directory path should be available in 2020 still, that's odd!
      I may revisit this on my course platform as an example potentially, but am unlikely to remake it for YT.
      I'd suggest trying datashapes for UI using directory path for print destination, listview for sheets and dropdown for print setting.

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

    Old video but I suggest viewers using PDFCreator Driver and change the filename setting to "" and Target Directory to "" to save the extra file naming step.

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

      Thanks Sujan. I'll probably remake this tutorial eventually as I got my hands on PDF driver also and it makes it much easier.

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

      @@AussieBIMGuru Please let me know if you have any sample starting point for getting naming convention from Excel( I'm aware of XREV and Pro-Sheets) ;)

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

      @@sujanmaharjan9182 as we discussed I haven't set up such a workflow before. I would build a row or column per convention, with each cell being a parameter name to draw upon for joining together. Python has some concatenate functions that may help here which can join lists of strings using a common separator between each.

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

    Hi there, is there a way to print of sheets which are organised into groups. I have put my sheets into two groups that are ‘in progress’ and ‘not in progress’. But I’m confused as to how to do this with your tutorial as well as not knowing which nodes to use. Thank you!

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

      Yes as I used here, a view sheet set could be used to collect the sheets from a group. Alternatively you could build a Data Shapes UI with a listview input for the users to pick sheets manually, or by a filtering parameter/value.

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

    Thanks for a great tutorial. It seems that my script has a problem, where it only prints a part of the set.

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

      Maybe cross check that all your sheets are in the sheet set, and also that your list inputs going to the final node are all at the same list levels. Beyond that I'm not quite sure what it could be.

  • @mzwandilenzimande4621
    @mzwandilenzimande4621 5 років тому

    Thank you so much mate, This really helped me out.

  • @scelem
    @scelem 5 років тому +2

    I am trying to print several pdf files from a directory with revit files without opening them.. This seems to only print one revit file I have open at the moment, which is to my believe a very useless script ?

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

      Thanks Selim, I agree that a script able to print from models that are not open would be ideal - likely too much for Dynamo on its own to handle however.
      This script is focused on batch printing whilst in a Revit model to save the user having to name each individually. Similar to plugins like 'Xrev' or 'RTV Tools' which are very popular in the industry. A lot of clients will require drawings to be individually printed and named in a specific way.
      If you wish to print from a Revit model without opening it, you will need to likely set up a batch routine using Revit API Scripting (and potentially a remote machine to do it for you - I think you will always need the model to be opened to print from it). This is indeed more complex than Dynamo (and this script!).
      If you're interested however, there are some people who have technically found ways to do this, but they are complicated;
      forum.dynamobim.com/t/export-sheets-from-linked-models/6607/7?u=mostafa_el_ayoubi
      I have also developed a more advanced version of this script with an interface where the user can select sheets from a tickbox list instead of making a sheet set as well. I will hopefully upload a demonstration/tutorial for this at a later date :)
      I hope that helps, if not let me know though! Thanks for the feedback

    • @scelem
      @scelem 5 років тому

      @@AussieBIMGuru Thanks for the fast response! It seems like my hopes for Dynamo are a bit unrealistic. I will check out that forum link tomorrow and see how far it will get me, been struggling for days trying to print sheets from unopened revit files in a document! I subscribed to you and will definitely check out your other videos to help me in my research of workflow optimisation with dynamo for revit. (Bachelor thesis) Thanks Aussie Bim Guru!

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

      @@scelem brilliant, great choice of thesis as well! C++ and API scripting will definitely be the most efficient way - beyond my skills currently, but a future goal! Dynamo is a great introductory way to get into visual coding and develop everyday tools, but sometimes the big guns are required for fully optimized workflows. As always though, the depths of our creativity are the only true limit 😉

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

    Archilab node and pdfcreator has worked fine for me But two areas need to be automated.
    Firstly, I want to feed the paper sizes from Dynamo itself nstead of saving manually in Revit.
    Secondly, I should be able to list all the viewsets and print with their respective papersize in one go!
    any way to achieve above two milestones ?

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

      I believe viewsets might be accessible as a class in the Revit API, but I haven't seen a node capture them all before. You could try finding it as a category or element type maybe.
      Paper size should be sourced from the data related to your sheet's titleblock. This could be collected by assessing the elements of this category in the view (as sheets are also seen like views in Dynamo for all element in view nodes). You would need to adjust the print setting per sheet to then match the identified titleblock page size. E.g. if the titleblock name contains A0, match it up with the A0 print setting.

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

      @@AussieBIMGuru Yeah I have built script which can create viewsets according to their sizes. I was referring to selecting paper sizes in print setup which pops up while printing. I didn't find any package which can help me in setting paper sizes for printer.

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

      @@shujath9176 I believe that you would need to preconfigure these settings in your model print settings as these are dependent upon the print drivers which sit outside Revit's API for sure.

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

    Thank you from Germany for your amazing Tutorial. I tried to have the script, I did everything the same as you did in Video. but after running the script, it shows an Error " ..... Exception: Invalid Filename".
    and also after running the script, the setting in biopdf print in Revit changes to the first option in the File section
    "Combine multiple selected views\sheets into a single file.
    it would be really great if you can help me with that.

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

      I just wanted to say I've found the problem. I had used forbidden Characters with the node file name to the path. Thanks again for your amazing work.

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

      @@mehdiheydari9363 yep that'll do it! Nice one on figuring it out, I use Adobe PDF as my plotter these days, it's a bit easier than BioPDF (doesn't need a renaming step).

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

    Hi guys, excellent video
    i have a issue in final part of script, I lunch to plot and i have back this " typeError: 'StackValue' object is unsubscriptable"
    any idea?

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

      Sounds like a pretty wacky error... usually a stack issue relates to a script running out of memory space to finish.
      Usually an ubsubscriptable item is one which cannot be handled as an object by a method or function. Make sure your lists of data are entering the final print node in a flattened structure and don't have sublists.
      Beyond that, I'd try seeing if anyone on the forums has a clue! Wacky errors are common with custom nodes sometimes unfortunately - the joy of troubleshooting!

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

      @@AussieBIMGuru thx for the reply, Untile the last "list.flattern " seeme like it work. the last connect to print multi pdf make ad error, i try changing the list.flattern node ( orchid for genius ) but the result is "null". i thinks is somethings wrong when i set a multiplay sheets. Single sheets print work, multi make error. I have to try to simplify the coding part of the sheets. I will update to you

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

    Thanks Gure this amazing video!
    Just a little question about print pdf's, do I have to press every print OK to save it in your File Path?
    Or is my (CutePDF Writer) settings not good?

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

      I believe you may need to change your printer settings in the driver settings (outside Dynamo). Some print drivers can suppress this warning (e.g. Adobe PDF). I will remake this video for Adobe PDF sometime early next year and use this driver instead and show how the OK prompt can be prevented, but haven't tried CutePDF before.

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

    My name is Chandralal
    Thank you for your Tutorial
    I try to do this scrip i can't find printer node and file renames how can i get this please help me.
    Thanks

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

      Printer node is from a package called 'Genius Loci' and rename node is from 'Orchid' which can be downloaded and installed from the github here;
      github.com/erfajo/OrchidForDynamo

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

      @@AussieBIMGuru i installed genius Loci and Orchid
      but still same i don't no what is the reason can you help me
      thank you

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

      @@cjlglal7966 did you install Orchid from the github installer?

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

      @@AussieBIMGuru Sir I install today and check. but still same i seen today your video good
      i am unlucky i will do it one day i am using 2019 Revit Mep
      thanks

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

    Hey Gavin I would suggest PDF creator app from pdfforge.org for better control in file naming and directory placement.

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

      Interesting, I'll give it a look. Thanks!

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

      @@AussieBIMGuru another thing I added was
      1. Option to export DWG as well which is available from Genius Loci.
      2. You would need to change file naming setting in PDF Creator setting as and for directory
      3. A warning message if Worksets are closed (let me know if it is possible to detect Worksets closed from Visibility Graphics)

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

      @@sujanmaharjan9182 yes I look forward to optimising this plugin this year as I will be using it for personal work now - more motivation to perfect it! This video was my 'version 1', I ended up at around version 3 or 4 eventually!
      It looks like Bakery can detect open worksets; dynamonodes.com/2016/02/12/get-open-worksets/

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

      @@AussieBIMGuru is it from Master Workset dialog or Visibility Graphics?

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

      @@sujanmaharjan9182 I would expect given this is using the term 'Open' as opposed to 'Show' this should be the master.

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

    Hey thank you for the video I have tried to replicate the video for my own project however I cant find the first node which is the View sets

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

      I believe it's from archilab.
      If you're in 2020 there's a chance some nodes might not have made it across yet. I will be remaking this script for gitbub around april hopefully

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

      That would be great, however for the mean time would you be able to recommend another way of doing this output. I have 100's drawings I need to get out and don't want to do it the traditional route :) .

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

      @@sagalrooble7239 if you're in a bind and this isn't working, look into Xrev or RTV.
      If you want a more experimental but free tool try the sheets plug-in by DiRoots.

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

    Hi
    can anybody tell me were to find the (ViewSheetset.Get view) i have looked everywhere but just cant seem to find it ?

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

      I believe this is in archilab package iirc.

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

      @@AussieBIMGuru
      Hi
      Thanks for this i cant seem to find the printer node in either Archi-lab or clockwork plus the rename file seem different in Archi-lab it has the following inputs

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

      Directory path, Identifiers, New names, and runit

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

      @@TheMadgeman i am using Dynamo 2.0.3 for most of my scripts, which build are you using?
      Try the genius loci package for print nodes instead. The orchid package has a good file renaming node as well so try this instead.

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

      @@AussieBIMGuru HI thanks i have this working now but i want to add a revision to the end is this possible ?.

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

    Where can I find the "Printer" and " File.Rename" ?

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

      Printer nodes are in archilab or genius loci. File.rename is from archilab.

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

      @@AussieBIMGuru I mean Local printer name node in your video. File.rename nodes from archilab is diffferent from the note in your video. Please check. Thank you for this video!

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

      @@trannguyenngoctu8223 hrm I'll have to get back to you in february as I don't have access to dynamo until then.
      Try Orchid, clockwork, rhythm and springs. Most of my custom nodes come from these packages. Sorry my earlier videos missed a few custom node references vs my recent ones.
      I believe most of the printer nodes are from Genius Loci in this video.
      Local printer names should match your PDF drivers outside revit. BioPDF comes with Xrev, but AdobePDF works similarly to this workflow.

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

      @@AussieBIMGuru Thank you for your support, good health and a successful new year!

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

      @@trannguyenngoctu8223 and to you :)

  • @User_2026_
    @User_2026_ Місяць тому

    HI Gavin.. well thank you for your effort but I beleive we can now Export sheets to PDF using Revit itself, please correct me if iam wrong because iam taking your tutorials one by one so iam gonna skip this video.

    • @AussieBIMGuru
      @AussieBIMGuru  Місяць тому +1

      You can in revit 2022 onwards.

    • @User_2026_
      @User_2026_ Місяць тому

      @@AussieBIMGuru thank you for your replies.

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

    How can you remove the ".pdf" at the end without having to do it manually?

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

      I'll hopefully remake this tutorial in late feb to show a more direct method, but essentially i use Adobe PDF plotter which is more simple to set up and does not need the rename at the end.

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

      @@AussieBIMGuru Brilliant.
      When I created the same script as you did, I still had to manually type in the name for every pdf. It doesn't do it automatically as it did for you.

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

      @@denishujdur8652 it may depend on the plotter you use. If you use adobe pdf you will need to supress the naming rule in the printer settings in windows also. This can be found in the printer preferences.

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

      @@AussieBIMGuru Yes I managed to solve it! Thanks :) Is there a way to make a menu where you can choose which sheets you would like to batch print? With this script it prints all sheets in the Revit-file. I don't want to batch print all sheets. Only some of them. Is this possible with Dynamo? I would be forever grateful if you replied to this.

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

      @@denishujdur8652 yep definitely possible! The key here is to use data shapes, I have a presentation on how this package works here;
      ua-cam.com/video/wkwMsy9DQiQ/v-deo.html

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

    where is this " viewsheetset.getview" node in dynamo