Bulk reload Revit families from a directory using pyRevit!

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

КОМЕНТАРІ • 13

  • @michaelgeyer5649
    @michaelgeyer5649 11 місяців тому +1

    Thanks a lot for this workflow, exactly what i needed. Without your video I could'nt figure out the "FamilyOption Class".
    And yeah, damn Typos :D

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

      Haha yeah typos are the eternal enemy in programming! I've watched harvard lectuers make them - keeps us all human.
      I leaent the familyoptions class via Genius Loci package in Dynamo - just passing on what I learnt on the shoulders of giants, keep paying it forward 😉

  • @nicholas_bree_bim
    @nicholas_bree_bim 6 місяців тому

    is there a way this script could be modified to insert all families from a specific folder? i.e. to be used on a new project file to ensure the latest version of these families is loaded? i have been trying to modify this with gpt to get the result i am looking for but ideally it would be a single click of a .pushbutton without any additional interface appearing

    • @AussieBIMGuru
      @AussieBIMGuru  6 місяців тому +1

      The only way you could make it a single click is if you wrote the directory path into the script instead of asking the user to specify where it is. It would reduce tool flexibility and require users to have access to that folder reliably by that path, so if you depend on users being on vpn/wfh etc it may be problematic.

  • @RafaelMartinez-jn5xs
    @RafaelMartinez-jn5xs 7 місяців тому

    Do you have a video on EventHandlers, parameter updaters, etc?
    I am looking for way to monitor parameters for 2 elements so that if a parameter of the first changes, then the parameter of the second also changes.

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

      Unfortunately I'm not really familiar with them beyond pyrevits event system, they require the use of C# and code beyond my abilities right now.
      They generally wont work if you use Dynamo but pyrevit has hooks which use them to some degree as a middle ground.
      You'd likely need to use document changed for that one which is quite an agressive hook as it fires off a lot.

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

    Awesome! Is there any workflow to reload families in several revit project files?

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

      Yes you could open them in background using the open method for document class. It would add some complexity to the process but definitely possible. If your files are on bim360 however you would need to use forge.

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

    This is great, thank you so much for this tutorial! Do you think there would be a way to do this with system families from a linked file or file in a separate folder?

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

      Yes you can copy in elements like that using this workflow, but they cant be overwritten. Youd need to get all elements of the types to be replaced then swap them over before deleting. Limitations for grouped elements etc. unfortunately...
      ua-cam.com/video/3mIQH3bFR4Y/v-deo.html

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

      @@AussieBIMGuru Thank you so much

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

    Can you solve sprinkler symbols not showing om sloped pipes? 😅

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

      Unfortunately I believe this is an ongoing issue/request for Revit MEP due to workplane/symbol issues.