Place Views on Sheets using Dynamo! (Views to Sheets 3/3)

  Рет қаралды 29,198

Aussie BIM Guru

Aussie BIM Guru

Күн бұрын

Пікірлер: 221
@vidarpi
@vidarpi 3 жыл бұрын
Thank you so much Aussie BIM Guru!!! I didn't see this in the comments yet but forgive me if you've answered this already. Is there a way to still get the views to be in the exact same spot on the different sheets if the view port box center is not the same as what I would call the crop region center? Thanks again!
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
As far as I know Dynamo doesn't really have a good way to do this, it uses the extent of the bounding crop. The only way I could think of is to union box all the valid bounding boxes in a view's contents and find the centre of that - but it would be a very heavy operation to undertake. If you're game, I have a node in Crumple called 'UnionBox' that does this.
@TheAdubs
@TheAdubs 5 жыл бұрын
Holly this is exactly what I have been looking for if I can get it to work. I am having a little problem. All of the nodes titled "List.GetItemAtIndex" give me this warning: "Warning: List.GetItemAtIndex operation failed. Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index" Do you know what could have gone wrong? I followed your 3 point examples exactly how you showed them.
@AussieBIMGuru
@AussieBIMGuru 5 жыл бұрын
I believe it is failing to find an index match from index.of. Are the indices before coming back as a positive number or -1? -1 means no match was found for the sheets or views, cross check that all items find a match. Ideally if your excel data is aligned to project values all indices should find a matched index. Happy to continue via my gmail if it keeps giving errors. Also are you using dynamo 2? Not sure if this works in dynamo 1.
@douniatouil8114
@douniatouil8114 5 жыл бұрын
Hi Anders, I got the same problem. The reason was that I had a "spacing" in my sheet numbers which I had to take out and the problem was solved. In the beginning, It wasn't obvious at all... so as Gavin said, it's worth checking that all your items find a match even if the "thing" that differentiates them is some kind of invisible space.
@AussieBIMGuru
@AussieBIMGuru 5 жыл бұрын
@@douniatouil8114 thanks Dounia, it happens to me from time to time as well! Data is unforgivingly explicit
@masonma1084
@masonma1084 2 ай бұрын
Thank you so much Aussie BIM Guru!! I got a quick question and would mush appreciated if any advise on why would Tool.PlaceViewOnExistingSheet have to use Lacing: Auto to make it work and it will give me null when I using Lacing: Longest. Thanks a lot
@AussieBIMGuru
@AussieBIMGuru 2 ай бұрын
Yeah its an old node now, try viewport.create from rhythm or crumple packages instead.
@CamiloReinales
@CamiloReinales 3 ай бұрын
Quick comment, View Types are now called View Family Types (It took me a while to find it) Great video
@AussieBIMGuru
@AussieBIMGuru 3 ай бұрын
Yep that's the right name for them, good pickup! Viewtype in the API is technically the overarching type such as FloorPlan whilst family type is the name of the view type you set.
@scelem
@scelem 4 жыл бұрын
Hi Gavin, I am trying to use this method to place multiple views on multiple sheets, any ideas I could use on what needs to be changed for the script and excel file in order to achieve this? Another great video by the way!
@scelem
@scelem 4 жыл бұрын
I have also put my question on the Dynamo Forums, forum.dynamobim.com/t/placing-existing-views-on-existing-sheets-with-excel-and-a-reference-sheet/49987
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Hi Serim! I would adjust the script so that you either collect more reference views (say up to 3) and in excel specify the index of the reference view for each as an additional column, or you could add X/Y/Z values for placement points fot each view as columns also, then feed these into a point.bycoordinates node to define the placement points.
@scelem
@scelem 4 жыл бұрын
@@AussieBIMGuru Hi Gavin, I used 1 reference view and an excel file with multiple columns. Eventually managed to filter the script correctly by counting the amount of views to place on the sheets. I posted the solution on the Dynamo Forum post I made earlier! Could you check it out and give me some feedback on my solution? Thanks in advance!
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
If the viewlist always matches the reference views, repeated item lists are a suitable solution for sure! Also yes, the steamnodes package is a bit out of date - it can be tempremental. If you're curious as to how the node works in Python, feel free to check out my custom package 'Crumple' on my github, which has a pair of nodes dedicated to this workflow.
@veerachaithiraman4039
@veerachaithiraman4039 2 жыл бұрын
Thank you so much Can you change point viewport to top left
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Yes you would need to pre-calculate the size of the viewports based on their cropbox (bounding boxed), then before placing at the points you would need to move it half the width to the right and half the height downward.
@jeremybowen6269
@jeremybowen6269 3 жыл бұрын
This helped me tremendously, I can't thank you enough :)))
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Glad it helped!
@ronjr811
@ronjr811 3 жыл бұрын
Gavin, your videos have helped me tremendously! I have a question though. My SteamNodes "Tool.PlaceViewsOnExistingSheets" seems to be outputting a string, and the Element.SetParameterByName node requires an element. how did you get around this? maybe the python script with the SteamNode is buggy??
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
This is actually because the node outputs a message for any views that are already placed. Make sure that you run the script in its entirety before the views are actually placed, then it should send viewports out the other side instead of text.
@amirgabrielli3574
@amirgabrielli3574 2 жыл бұрын
Thanks for the great video however I cannot find the nodes: "Views.GetByType" and "View Type" although I installed steamnodes and archilab packages. I'm using Revit 2022 and its relative Dynamo. Any idea why I don't have these nodes?
@SwapnilGharatalibag
@SwapnilGharatalibag 2 жыл бұрын
i also have same issue can anyone tell list of packages to be install
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
I can see both nodes in archilab under Revit > Views. For reference I am looking at version 2020.23.13, but it should be in later builds also.
@danieltrevijanostehle7829
@danieltrevijanostehle7829 3 жыл бұрын
Not sure if other people had this problem before but I'm having an issue with "Element.SetParameterByName" dropdown at 13.04, popping out this warning message "Warning: Internal error, please report: Dereferencing a non-pointer." Any idea? Thanks in advance.
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Usually this warning means one of the data types is empty or not something the node can process. The most common reason for this in this particular script is you have run the script a second time, so the node outputs a message instead of the viewport (something like 'view already placed'), which cannot have its type set to another viewport type. Try running the entire script in one complete run, or via Dynamo player whilst all views are not yet placed.
@kvasovie
@kvasovie 3 жыл бұрын
@@AussieBIMGuru Hey, I have same problem, but running the script second, third or more time does not solve it. Is there any other solution for this problem? Thanks :)
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
@@kvasovie it means at least one of the inputs is not correct at the time of running. The elements should be viewports and the parameter value should be a viewport type. Look at the outputs to confirm this is the case, and if it isnt then thats the cause. This script runs best in dynamo player, and all views must not be placed on sheets before the script is run.
@kvasovie
@kvasovie 3 жыл бұрын
@@AussieBIMGuru Thanks for super quik answer! I noticed, that already by Tool.PlaceViewOnExistingSheets it generates 74x 0 value, not sure if that is ok. Then I also noticed, that Sheet.number lists sheet names, even though its linked correctly. Could this be actually the issue?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Possibly, yes the node from steam nodes doesnt work in some versions. Try my node in Crumple (my package) called ViewsToSheets_ByPoint. Always follow the error back through a script as it will trigger more errors as it goes so the first one to solve is the earliest one.
@RivellaLight
@RivellaLight Жыл бұрын
🙏 holy cow! It runs! It doesn't apply the View Type but it's placing views on sheets and saving me TONS of work 🥲
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Sounds like it's almost there! Glad it helped to that degree at least
@Iosconvolto
@Iosconvolto 4 жыл бұрын
Hi Gavin thanks a lot. Had to fight a little bit cause unfortunately in the office we still run the 1.3 Dynamo with RV2017. I had to manually type the viewport type for example eheh ;-)
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
You're welcome! Man wait til you reach dynamo 2.1+, it's on a whole 'nother level! Hang in there in the meantime.
@Adrianplays452
@Adrianplays452 Жыл бұрын
Hello Gavin, i almost got the script to work, which i really exited, but all of my views were placed on the same sheet.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Make sure you have lists of equal depth (@L2) with equal length (1 sheet/1 view/1point per placement).
@Adrianplays452
@Adrianplays452 Жыл бұрын
@@AussieBIMGuru thanks for the reply, but i don't understand your answer since I'm new at Dynamo. Which of the nodes would check this info in?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
@@Adrianplays452 check the three lists before you place sheets and make sure they are lists that look the same in depth/length. Beyond that use dynamo forums for detailed help.
@peterjames1550
@peterjames1550 3 жыл бұрын
Hello BIM Guru, great tutorial, thank you for the work you do. I have a problem when I use the List.IndexOf node. The list generates a -1 outcome in all the index when I run it. Do you know what the cause might be?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
This means a match has not been found in the list. One reason may be that the sheet number is being imported as a number, but it needs to be a string. Make sure to import excel data as strings, and check the data types using object.type to make sure they are the same.
@tienlam96
@tienlam96 3 жыл бұрын
I have same issue, and I use Object.Type but nothing change :( .
@hallydesai2464
@hallydesai2464 3 жыл бұрын
I have the same issue.. can you please provide a solution for thid
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
See above solution. Something must not match in the text to what you are comparing between excel/dynamo. Pay care to case and punctuation as well as any language based differences between the programs.
@hallydesai2464
@hallydesai2464 3 жыл бұрын
@@AussieBIMGuru thanks
@fulybuilt
@fulybuilt 3 жыл бұрын
Hi Gavin Great stuff here. Can you share how you would use this Dynamo script to place schedules? I can't seem to get it to do that i've got the views working and its fantastic thanks again for the great tutorial
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
It requires a different API method to the one used by this package, which can be found here: www.revitapidocs.com/2015/8402dc3c-8bdc-40f5-be54-da08bc69d0cd.htm I might add such a node in future to Crumple, but for now I believe Rhythm's viewport creation node works for both views and schedules - I assume the author has made a logic gate to catch when it's a schedule and when it's a view.
@fulybuilt
@fulybuilt 3 жыл бұрын
@@AussieBIMGuru thanks I'll try on Monday and report back. I'll try that creation node. Where would I place it in the dynamo script?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
@@fulybuilt it would be effectively the same location as this workflow, but you would need to get the schedule type instead of a view.
@fulybuilt
@fulybuilt 3 жыл бұрын
@@AussieBIMGuru Hey Gavin I'm not having much luck here i've brought the Rythm viewport creation node into the script and have tried it in multiple locations but I really just don't understand all of this yet as I am completely new to dynamo. Any chance you can help me work through this? maybe you could email me a screen shot of what I should be changing to get this sorted.
@fulybuilt
@fulybuilt 3 жыл бұрын
I've emailed you
@marcelobecerra2145
@marcelobecerra2145 3 жыл бұрын
Hello Guru, where I can find those files that you show us in minute 17:00?, Is possible get any repository, github, or something like that? Thanks a lot for this three tutorials! :)
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Unfortunately i misplaced these ones and hadnt began using github at the time. I'll likely remake these videos at some point this year though.
@MT-nj6it
@MT-nj6it 3 жыл бұрын
Hi! Guru, it is possible to change the viewport "nesting" point, to be able to change the postion of the views on the sheet? I want to place e.g. 3 sections right next to each other, but not manually. I think that i can just change the coordinate of view, but acutally I dont have an idea how to do it. Do you have any solution? Big thanks for your work.
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Viewports are typically positioned by their centrepoint, so you would need to know the position of that for the three views. There are some nodes in R21 onwards that 'pack' views onto sheets (sheet by name number titleblock view(s)), but the algorithm usually picks ugly spots unfortunately. To update the location of a viewport, you should be able to use the 'set location' node i think.
@MT-nj6it
@MT-nj6it 3 жыл бұрын
@@AussieBIMGuru yeah, "byNameNumbetTittleBlock" node works randomly, regardless of the number of views. I will use "setlocation" node and try to change the centrepoint. I'll let you know how it works :) thanks!
@schnubbyy_
@schnubbyy_ 3 жыл бұрын
Do you have a script for legends on sheets? And how does is work by different parts/scope boxes?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
As I usually use Revit 2020+ this allows legends to be copied to sheets normally but I know in older builds this can't be done, and sometimes automatic placement still has benefits. Sean shared a script over on Dynamo forums for this, I'd try that one out: forum.dynamobim.com/t/place-legends-on-multiple-sheets-with-template-legend/25632 For different scope boxes I would usually name these in a particular way (e.g. Level 1 - Zone A), and you can then use that name in Excel just like any other view. Sometimes I would run the script a few times with different files, so I might place all of one scope box at a time, as they will probably have different viewport centres to guide them to position on the sheet.
@schnubbyy_
@schnubbyy_ 3 жыл бұрын
Amazing, thanks I'll try this.
@SrijatVerma
@SrijatVerma 5 жыл бұрын
The entire script ran well, except in the end. It says at the final step in Element.SetParameterByName it says the input in the element node is a string input rather than an element string.
@AussieBIMGuru
@AussieBIMGuru 5 жыл бұрын
Unfortunately in later builds of Dynamo there seems to be a bug with the viewport collector node - if you email me I can send you a fix to this bug. If you're up to it and want to try to solve it, the trick is to get the element type of Viewport, collect all the viewport types and filter a desired type by running a boolean mask based on their type name, then feeding this through as the parameter value instead.
@SrijatVerma
@SrijatVerma 5 жыл бұрын
@@AussieBIMGuru I have done that too. Will send you an email.
@AussieBIMGuru
@AussieBIMGuru 5 жыл бұрын
@@SrijatVerma replied, looks like it's just a simple case of filtering the viewport types vs. their name. Hope that helps!
@Dynamo37958
@Dynamo37958 Жыл бұрын
Hi! I am having the same issue @aussiebimguru ! I can’t seem to find you email but I would really appreciate help with the solution !
@Dynamo37958
@Dynamo37958 Жыл бұрын
@@AussieBIMGuru Hi! I am having the same issue @aussiebimguru ! I can’t seem to find you email but I would really appreciate help with the solution !
@inouizi
@inouizi 4 жыл бұрын
Thank you so much for the great videos.. is it possible to manipulate [detail groups] with Dynamo? mostly on sheets? I am interested in creating a script that would set up sheets and insert views/legends but also add detail groups to the sheets... thanks!
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
You're welcome! I believe it's complex but possible, there's a pretty intense thread on editing group contents here: forum.dynamobim.com/t/editing-revit-groups-with-dynamo/7736
@inouizi
@inouizi 4 жыл бұрын
@@AussieBIMGuru Thank you!
@iftekharkhan8879
@iftekharkhan8879 3 жыл бұрын
I have seen under library there r some option under sheet....by name nd number.by view,by name...this can also help to setup sheets by views???
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
This does work to some degree, but it uses a packing algorithm to place the views so you can't specify the locations exactly.
@letsbimtogether
@letsbimtogether 8 ай бұрын
"it's pretty cool" :D haha it is very cool!
@AussieBIMGuru
@AussieBIMGuru 8 ай бұрын
Haha glad you found it cool!
@jedsanford7879
@jedsanford7879 2 жыл бұрын
most of my steamnodes are broken in 2022- is it not being updated anymore?
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Unfortunately it doesn't appear so. Most of the input syntax's were deprecated in a majority of cases. These days I stick with my own package mostly (Crumple).
@borun67
@borun67 5 ай бұрын
Teşekkür ederim!,Gracias!, ありがとうございます ,THANK YOU ∞
@AussieBIMGuru
@AussieBIMGuru 5 ай бұрын
You're welcome!
@JoanGong
@JoanGong Жыл бұрын
Hi Gavin, thank you for the great video. I use Revit 2023 to play Dynamo. Only the last node: Element.SetParameterByName not working. Do you know how to fix?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Not sure what the error is so not sure what a fix would be...
@alejandroarrunada8612
@alejandroarrunada8612 3 жыл бұрын
Sweeet. Thanks for sharing
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Youre welcome!
@luupieper
@luupieper 4 жыл бұрын
Hey Gavin! Thanks a lot for the video!! But I have a question: Instead of creating an excel table I would like to "match" the name of the sheets with the name of the views. The problem is that while the sheets have separate "sheet name" and "sheet number", in the views numbers and string are together in the same parameter. So for example when I try to match sheet number "100" with a view called "100 - 1st Plan" it does not find this "match" because it does not look for "contain 100" but instead it tries to find " value = 100 " Do you have any suggestions on that? I kind of in doubt about how useful it will be to go through with this, because not all of our boards are the same, they vary in size, number of views, size of each view ...
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
You're welcome! I considered this workflow before, the trick would be that the properties of the view would need to relate to the sheet's number and/or pieces of its name in order to find a match. If you were able to write a matching algorithm (e.g. first digit = level, second digit = view series) then it could technically be auto-matched. Without the perfect data and system though, it unfortunately wouldn't work - data is very explicit in what it expects. Might be worth looking into 'fuzzy logic' and 'f strings' in python to see some 'rough matching' techniques you could explore. Complex territory, but theoretically applicable. If you're simply matching a leading substring in a view name to a sheet number, you could split all view names by the first separator (" "), then take the first match to the sheet number as its respective view, then an equals node or 'index of + item at index' method could be used. Very explicit however, you'd need a sheet number once only per view/sheet match.
@luupieper
@luupieper 4 жыл бұрын
@@AussieBIMGuru Thanks for you answer.. This first hypothesis seems very complex to me: /, but the second one seems possible... I just managed to separate the view names with a "string.Split" + "list.Deconstruct" ... The problem is that the order of the elements seems wrong, I will have to study this further (how to match those things) ... Just to be sure that I didn't misunderstand you: what you mean by "Very explicit, however, you need a sheet number once only per view/sheet match " is that if I have a View name with name " 100 - plan 1 "and another one with the name " 100 - plan 2 " and try to get both to be placed on sheet 100 the scripts wouldn't be able to do it and only one of them would be positioned correctly?
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@luupieper a script could be set up to take the first match vs all of them for sure, just a bit more to protect the script.
@luupieper
@luupieper 4 жыл бұрын
@@AussieBIMGuru Good Morning Gavin, about the tutorial: I'm back to the main goal (put in the views on the sheets) and I'm trying to make the way you point out in the video (left my idea on stand by for now)... I wasn't able to make it works: "Tool.PlaceViewsOnExistingSheets" node it's null, so Element.SetParameterByName says "Warning: Internal error, please report: Dereferencing a non-pointer"... But I don't get why because all the nodes before these ones appear to be working properly. I'm also having some trouble with the "List.IndexOf" node, cause it's not finding all Sheet Numbers that start with numbers (I noticed that yours start with letters, and I tested it starting with letters and it worked) ... I thought of inserting standard letters with string join or something like that, but I wanted to understand why it doesn’t work when there are just numbers on the Sheet number. For now, I made some tests changing it manualy.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@luupieper cross check what object type dynamo sees the numbers as - it might not see them as strings if contain no letters. I've heard there are issues with the placement node in various dynamo versions. Will do an update for revit 2020 in about a month hopefully. Be mindful the node typically only works once (for placement) so it cant be run in steps past this node without reloading dynamo session.
@maryannberendson
@maryannberendson Ай бұрын
hi, is any of these awesome add ins/packages applicable for revit 2024? doesn't work for me so far, the last node to place the views on the sheets doesn't place them and the sheet remains empty :(
@AussieBIMGuru
@AussieBIMGuru 20 күн бұрын
Try viewport.create from Rhythm or Crumple package as an alternative.
@朱玄-m1d
@朱玄-m1d 5 жыл бұрын
HI, BIM Guru! Why I used PlaceViewOnExistingSheet , when Dynam is run done , the view name is change to "SheetNumber_1_ViewName" . SO, I Whant to know your view is keep or change the name . Thanks
@AussieBIMGuru
@AussieBIMGuru 5 жыл бұрын
Just to clarify, is the node changing your view names without you telling it to, or do you want to change the view names when they move? I've never seen the node change view names, very odd if so... which version of Dynamo are you using? Maybe send me an email and I can send you my updated script which ironed out a few bugs (but none that renamed views...!).
@朱玄-m1d
@朱玄-m1d 5 жыл бұрын
@@AussieBIMGuru THANKS , Send Email to you . My Dynmao is 1.3.3.41111 & Revit 2018 . and if I free last , I Check all is right .
@ravichandra-up1nu
@ravichandra-up1nu 4 жыл бұрын
Good Script...!! Do the tool.place view on existing sheets node work ?...I am getting null on the node even though my view, sheetname and points are correct...It shows null..
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
I found it can be tempremental sometimes - depends on Dynamo builds. If you're using Revit 2020, I've built my own versions in my custom package here: github.com/aussieBIMguru/Crumple
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@Ryan Dempsey unfortunately I've only used this script in 2019+. I suggest using the latest possible version of Dynamk and the steamnodes package for 2018. Try a small test as well (e.g. 1 sheet).
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@Ryan Dempsey if you get to 2020 try out my package on my github instead - I rebuilt my own version of the node.
@chrismillar2395
@chrismillar2395 4 жыл бұрын
Hi im getting "View is already placed" at the Tool.PlaceViewsOnExistingSheets" but the views I am selecting are not placed anywhere as I can manually place them on a sheet. Anyone ever encountered this?
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
That is odd! Maybe try reopening the script - it usually doesn't support multiple runs in a dynamo session. Otherwise, try my custom package on my github (Crumple) where I've built my own nodes that do this as well.
@rubengonzalez1729
@rubengonzalez1729 4 жыл бұрын
Hi, i was getting exactly the same warning. The problem was that I misunderstood and was not passing “views” and "sheets" to the Tool.PlaceViewsOnExistingSheets node, but rather string values (their names). Now this great script is working perfectly well and making me save a lot of time!
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@rubengonzalez1729 yes using names instead of their related element is a common error even I make from time to time!
@mariavallejos23
@mariavallejos23 2 жыл бұрын
@@AussieBIMGuru Hi! I have downloaded and installed Crumple but cannot find the node to replace ¨Tool.PlaceViewsOnExistingSheets¨ which is not working for me either. Can you tell me which node to use, please? I am a beginner so I can get lost fairly quickly. Is it ¨viewports.Createbypoints¨? Thanks!
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
@@mariavallejos23 yes it is viewport.createbypoint
@alexj6658
@alexj6658 4 жыл бұрын
Im getting an error "Warning: Element.SetParameterByName expects argument type(s) (Element, string, var), but was called with (string[], string, Revit.Elements.Element[]). Any idea what it can be?
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Your elements must be text. Check where they come from in the script - a common cause is feeding in element name instead of the dynamo elements themselves.
@alexj6658
@alexj6658 4 жыл бұрын
@@AussieBIMGuru The elements are coming from Tool.PlaceViewsOnExistingSheets node.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@alexj6658 make sure you run the script all in one. Once the views are placed, the node outputs text instead saying the views are already placed.
@alexj6658
@alexj6658 4 жыл бұрын
@@AussieBIMGuru Thats exactly whats happening. Tool.PlaceViews is saying that he views are already placed but they are not.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@alexj6658 strange. Try rebooting revit and dynamo, removing all views from sheets and rerunning. Beyond that I am not sure why - you may need to raise it as a bug with the package developer.
@NewVoiceSM
@NewVoiceSM 5 жыл бұрын
How, we can make sheet view different group type in one floor
@AussieBIMGuru
@AussieBIMGuru 5 жыл бұрын
To make multiple view types for one level, you would need to build a data shapes UI to select a list of plan view types, then create X copies of a new plan, rename using a rule of some sort, then apply view templates using a rule that connects your view type with your view templates (such as a common series number). Alternatively, you could specify all the data via excel. I think I'll make a video on this eventually - it's a bit tricky, and relies on good project setup.
@NewVoiceSM
@NewVoiceSM 5 жыл бұрын
Aussie BIM Guru thank you Please make a video. If you want i can send you file . E-mail id &Skype id -ar.mohit16@gmail.com Please connect me
@Adrianplays452
@Adrianplays452 Жыл бұрын
Hello Gavin, at the List.IndexOf node i'm getting a -1 value. Do you know what i might be doing wrong?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Generally this means there is no matching values. Check spelling and case sensitivity, these are common reasons for this.
@Adrianplays452
@Adrianplays452 Жыл бұрын
@@AussieBIMGuru thanks for the help
@AMIR_MOEINI_SH
@AMIR_MOEINI_SH 3 жыл бұрын
Hi, Thank you for your amazing videos. my "View.ViewPortBoxCenter" node shows null although I added a list creation node before that. What can be the reason for that? Thanks for your help
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Possibly your Dynamo version. There is another node from the Rhythm package for getting viewport locations I think, maybe check there.
@prasunghosh3287
@prasunghosh3287 3 жыл бұрын
Hi Is it possible to create dynamo scripts for copy monitor of link model?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
As far as I know there isn't API exposed for it unfortunately.
@beezzwax2013
@beezzwax2013 Жыл бұрын
I'm on Revit 2020, have Dynamo 2.3 and both packages installed... but the functions you're using are not there for me. @9:37 you search for the function "Sheets" but that is not in my archi-lab package... how to get around this?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
It has likely been removed from the package eventually as later versions of dynamo absorbed these nodes. I have some nodes to create sheets in Crumple, and you can get sheets using get element by category node in 2020.
@beezzwax2013
@beezzwax2013 Жыл бұрын
I don't understand how to choose a sheet from the project. The "get element category" keeps giving me the error "expects argument type(s)". It can't be this hard to simply choose a sheet that exists in the project :S
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
@@beezzwax2013 it sounds like you might be quite new to Dynamo (not meant to offend, just to guide) - I'd suggest Dynamo primer is the best place to begin vs full workflows. It covers the way to use all elements of category, as well as indexing. Unfortunately in 2020 there is no Sheets node dropdown if I recall correctly (I don't work any earlier than 2022 these days... it's been a while since I've seen 2020's node library). Dynamo was more new then to Revit so it was not developed to that point. Archilab had a dropdown at that point in time to help with this. I believe the Orchid package may have a Sheets dropdown but it's a difficult package to install. I've checked in Revit 2022 and there is a sheet dropdown in that version. It can be found under Revit > Selection > Sheets. You may find it easier to learn Dynamo in 2022 or 2023 as there will be more nodes available there.
@timturnnips
@timturnnips Жыл бұрын
The 'place views on existing sheets' no longer seems to work on later version of Revit and has been removed from the steam pack, does anyone have a work around for this in 2020 or 2022?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Yes rhythm can create viewports.
@LongPham0204
@LongPham0204 4 жыл бұрын
what is pakeges for tool.placeviewonsheet
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Steamnodes See 1:08 for custom nodes
@josephkirkpatrick345
@josephkirkpatrick345 4 жыл бұрын
It seems the node Tool.PlaceViewsOnExistingSheets has broken due to updated dynamo, any advice on how to fix this?
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
I have a video where I show how to do this in Python instead; kzbin.info/www/bejne/bKCrnWCHesmoqtk
@josephkirkpatrick345
@josephkirkpatrick345 4 жыл бұрын
@@AussieBIMGuru I tried using it but I'm not sure honestly how to combine the the python from the link you shared to the flexibility of this video. I'm well enough to follow along and create what's needed but fixing or altering code isn't my forte. It looks like the Input>Point in Tool.PlaceViewsOnExistingSheets has changed? It states, "Error: This input symbol is not currently valid, and cannot be saved until it is fixed." I've been trying my best to figure it out. This 3 pt series is extremely helpful due to a cruise terminal project and how fast everything can be set up. Minus my current hiccup.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@josephkirkpatrick345 the problem is the node I used here wasn't maintained by the package's owner. If you don't know how to mod the custom node or use Python try downloading my custom package called 'Crumple', I added it to the manager a few days ago. It contains a fixed version of this node.
@josephkirkpatrick345
@josephkirkpatrick345 4 жыл бұрын
@@AussieBIMGuru I figured out how to mess with the custom nodes and know a little python, but not enough to possibly bring it all together in the manner necessary. I'll go recheck Crumple now. I wish more people existed like you!!
@johnvictorartienda2044
@johnvictorartienda2044 4 жыл бұрын
Hello Aussie BIM Guru, For some reason, i have an error for the steam node and ToolPlaceViewOnExistingSheets, it needs me to edit the custom node and correct the "Point" input, I did change the capital P (Point) to small p (point) and the error goes away. I did everything you did, no errors or anything, and the script run complete but there are no views in my sheets. can you help? Thanks
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Hi John, which version of dynamo are you using? I've found the steamnodes node can be quite tempramental. Try running from dynamo player as well - it doesnt work well from native dynamo. I'm hoping to release an updated version of this node as the steamnodes one hasnt been updated for about a year now.
@johnvictorartienda2044
@johnvictorartienda2044 4 жыл бұрын
@@AussieBIMGuru I am using 2.3.0, I did run it from dynamo player but still the same, I put watch after ToolPlaceViewOnExistingSheets node and its all null values, maybe something I'm doing wrong? editing the node might have caused this?
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@johnvictorartienda2044 Typically editing custom nodes is risky so it might be that. I'd only do that if you understan the issue 100%. My guess is that edit didn't work. Maybe ask dynamo forums for now and follow my github custom package for when I add the equivalent node to crumple.
@drummermanjustin
@drummermanjustin 3 жыл бұрын
@@AussieBIMGuru Hi Guys, thanks for all the great info Aussie BIM Guru. I also get the 'point' input issue. I wondered John if you had found a fix? Aussie do you have a video or guide to your ViewsToSheets_ByPoints node? I get a null response to the viewports and report. Thanks!
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
@@drummermanjustin no I haven't got one currently, but the most common reason for a null is incorrect input structure. It should be an equal lengh list of views/sheets @L2 and a point @L1 in order to work correctly. Make sure the views and sheets are elements, and no null values are present.
@iftekharkhan8879
@iftekharkhan8879 3 жыл бұрын
Thanku
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
You're welcome!
@1wango2
@1wango2 4 жыл бұрын
Hello, can someone tell me why i get the message null after the first the first information input to "Data.importExcel" - I have checked everything twice and can´t find anything wrong with the scripct
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
If the excel import is failing I would cross check that the sheet name exists and if it does then try rebooting dynamo, sometimes the node runs into problems when excel is open already I find
@amratef3134
@amratef3134 Жыл бұрын
hi, tool.placeviewson existingshhets give me error invalid inputs looks like thier types didn't set could please tell me what to do thanks
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Yes the package is out of date now unfortunately, try the viewport.create node in the rhythm package instead.
@markbrko
@markbrko 2 жыл бұрын
Hi can this be done with elevations at all?
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Yes you can place any view that can make a viewport using this type of workflow.
@annaaestas90
@annaaestas90 3 жыл бұрын
Thank you for your very helpful videos and greetings from Sweden! I used your Crumple-node to replace the viewstoexistingssheetsnode, and now I get an error in the last node for this script. "Dereferencing a non-pointer". Also, the ViewsToSheets_ByPoints-node returns null for both dictionaries. Can you help me?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Non pointer is quite a generic warning so hard to troubleshoot off that alone. Make sure you feed in views, sheets and dynamo point(s). A common error people make is feeding in view/sheet names and not elements themselves.
@annaaestas90
@annaaestas90 3 жыл бұрын
@@AussieBIMGuru I replaced the one node with the node from crumple, everythings else remaining the same as in the video. Should that work?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Ideally it should, yes. I havent tested the nodes beford or after revit 2020 so it could be that too. Make sure the data types are all correct and in the form of lists, beyond that maybe edit the node, copy the python to dynamo and see if that gives a more clear warning.
@annaaestas90
@annaaestas90 3 жыл бұрын
@@AussieBIMGuru You are overestimating my abilities a little...I have send you an email, very grateful if you can help.
@Rob_Bo
@Rob_Bo 3 жыл бұрын
@@AussieBIMGuru im having the exact same issue here in Revit 2021. Was there a solution to this? Im probably missing something basic as im relatively new to Dynamo still.
@coreymanno8946
@coreymanno8946 2 жыл бұрын
My View.viewportboxcenter is now returning a message "This custom node contains an invalid input. Please fix the input before saving the custom node." When I run the script, it shifts the viewport by a certain amount for the remainder of the views. Almost as if it took the coordinates we input and offset them by a certain amount. Currently using Revit 2021 and dynamo 2.6 - Any ideas?
@AussieBIMGuru
@AussieBIMGuru 2 жыл бұрын
Hrm steamnodes is a pretty old package now, maybe try the node from Rhythm for this instead.
@Sorin_007
@Sorin_007 4 жыл бұрын
Thank you BIM Guru for spreading wisdom! I am new in Dynamo and using Revit 2021 with Dynamo 2.6.1.8850. For some reason the custom node "Tool.PlaceViewsOnExistingSheets" is not working: "Warning: This custom node contains an invalid input. Please fix the input before saving the custom node." To make the custom node working, I have to change all inpust to "sheet: var[]..[]" (with small caps). If I put Sheet (with capital S then it will recognize an element and get an error). 1.If I run the script with Auto lacing then I get the following message: "View is already placed". But it is not doing anything in Revit 2.If I run the script with Longest lacing then I get the "null" message. I am struggling for a day to make this work and not sure if the problem is with the listing input or the custom node. Is there anyway to start from back to front and test the custom node alone for just one view / sheet? Any hint will help. Thank you in advance
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
The custom package is quite outdated now unfortunately. Maybe try my equivalent node in my custom package 'Crumple'. This one should work.
@Sorin_007
@Sorin_007 4 жыл бұрын
@@AussieBIMGuru thanks for your quick reply. Already tried that with both of your custom nodes. Still getting the same "null" error although the input lists seams to be fine: Views list has 25 items showing the view names Sheet list has 25 items showing the sheet numbers from Point list has 25 items with the same point coordinates as per the reference view / sheet in Revit. I have also tried manually created input list for view / sheet / point to check if the custom node is working. Still cant get it to work.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@Sorin_007 make sure the views and sheets are elements and not names. Otherwise it should work.
@Sorin_007
@Sorin_007 4 жыл бұрын
@@AussieBIMGuru many thanks, that solved my problem and it's all working now. Hooray ! The error I have done was in the final nodes for both Sheets and Views (List.GetItemAtIndex) before the custom node. Instead of feeding the Element, I was accidently feeding the Sheet.SheetNumber name and Element.Name as text. Moving back one node fixed the issue (All Elements of Category / Views.GetByType). For other beginners like myself out there, the difference between text list and elements list is that elements list have a unique number at the end highlighted in green. Bless you man!
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
You're most welcome! I used to make that error all the time when I was learning Dynamo originally, great tip for others out there.
@Hibbstech
@Hibbstech 4 жыл бұрын
Hi, I am new to Dynamo, I was wondering if anyone could help me with my problem. I don't have import excel as node, is there any package that I can download ? Thanks
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Hi there! Import excel is an out of the box node in versions 1.3 +. I believe before then it was called read excel maybe, but there should always be import/excel nodes of some sort available. You can also find export/import excel nodes that are a bit more advanced in the Bumblebee package.
@Hibbstech
@Hibbstech 4 жыл бұрын
@@AussieBIMGuru Thanks for the fast reply. I would really appreciate if you can help me with one more issue: everything was going well but I am getting error at List.IndexOf. The value is shown as "-1" imgur.com/a/w7ZeZOK I dont usually subscribe to channels, but you deserve to be subscribed and videos to be liked ;)
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Hi there, sorry KZbin is getting terrible at notifying me of replies - I have to manually go back and check for them sometimes. A -1 index means it found no match, I'd check both that your data types are consistent and that there are no typos/mismatches in the two sets.
@carloscampos5767
@carloscampos5767 3 жыл бұрын
Would you consider uploading the script by any chance?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
The script is available on my github.
@franciscobarbieri4953
@franciscobarbieri4953 3 жыл бұрын
I can't find the node Place Views on Sheet. Is this coming from a custom Package?
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
The one I used here is from Steam nodes, but doesn't work anymore. I added a similar node to my current custom package I make, Crumple.
@premkumar89s
@premkumar89s 3 жыл бұрын
Hi BIM guru, i tried this script finally showing "View is already placed" actually nit placed.
@AussieBIMGuru
@AussieBIMGuru 3 жыл бұрын
Strange, if you've placed the view already then re-run the script it doesn't keep flowing data if I recall correctly, it goes back and checks the placement again so maybe it just placed it? Ideally the script should be run only once.
@AnuradhaKarar
@AnuradhaKarar Жыл бұрын
it isn't working for my sheets. I couldn't figure out where i am going wrong.
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
Try using Viewport.Create from the Rhythm package instead maybe, the one I use here is pretty buggy these days.
@JaiminParmar-g5h
@JaiminParmar-g5h Жыл бұрын
Whenever i get the Tool.PlaceViewsOnExistingSheets it say views where already placed? No views are place in sheets in my revit model. Do anyone have an idea to why this is happening?
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
If you run the node more than once it will say that typically. Alternatively try the create viewport node from rhythm.
@JaiminParmar-g5h
@JaiminParmar-g5h Жыл бұрын
@@AussieBIMGuru Thank you for getting back to me so quickly but unfortunately i have now ended up with a null value
@AussieBIMGuru
@AussieBIMGuru Жыл бұрын
@@JaiminParmar-g5h id say try dynamo forums then, easier to troubleshoot specifjc issues there.
@JaiminParmar-g5h
@JaiminParmar-g5h Жыл бұрын
@@AussieBIMGuru Great idea thank you, love the videos by the way they all been great for learn dynamo and helping with everything in revit, much appreciated
@asfanjagirdar1553
@asfanjagirdar1553 4 жыл бұрын
i am not getting place views on sheets existing in dynamo
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Which part isn't working? As an alternative, Rhythm package has a similar node.
@asfanjagirdar1553
@asfanjagirdar1553 4 жыл бұрын
Also I am not getting option of import excel
@asfanjagirdar1553
@asfanjagirdar1553 4 жыл бұрын
@@AussieBIMGuru this one I got thanks
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Sounds like you're in an old dynamo. Try finding 'read excel' instead.
@dariodellafemina9700
@dariodellafemina9700 4 жыл бұрын
Hi BIM Guru, great tutorial I'd like to asky you some information regarding your video . Can I send you an email with my questions? Thank you in advance
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Thanks Dario. Sure, my email is in the banner!
@ThanhNguyen-bu8xp
@ThanhNguyen-bu8xp 4 жыл бұрын
That's great Video, thanks a lot Bro! I replicated and it worked! if anyone want to have the script then send me a message or leave you email address here so I can send to you since I don't know how to attach on the comment here.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
Nice one Nguyen! I'll likely remake this video and script at a future date (I know this one isn't on my github).
@ThanhNguyen-bu8xp
@ThanhNguyen-bu8xp 4 жыл бұрын
Aussie BIM Guru yeah I did check on your github but actually it’s not there. I tried to download some of your there too but for some reasons they cannot be opened by the dynamo 2.3.0.
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@ThanhNguyen-bu8xp yeah this one got scaped in a corruption event on my PC a while ago unfortunately. Strange that some can't be opened... I'll be aiming to remake some of the more popular scripts on my channel in Dynamo 2.3.0 and with more clean approaches early next year, and will share the outcomes to git when I do! You're more than welcome to share your version however, and it's great to see people being selfless like this - the aim of my channel is to encourage our industry to share :)
@ThanhNguyen-bu8xp
@ThanhNguyen-bu8xp 4 жыл бұрын
@@AussieBIMGuru sure mate, definitely. I did search and quite often only got the script capture which are troubleshooting questions only, not the script itself. and people normally didn't share their after the have solved it. Thanks again for sharing and inspiring us! I am assie too :)
@AussieBIMGuru
@AussieBIMGuru 4 жыл бұрын
@@ThanhNguyen-bu8xp oi oi oi!
Apply Revisions to Sheets using Dynamo (+Custom UI!)
18:13
Aussie BIM Guru
Рет қаралды 4,7 М.
Dynamo/Revit tutorial for beginners: Creating Sheets from Excel
17:08
Aussie BIM Guru
Рет қаралды 18 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 274 МЛН
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 29 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 63 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 35 МЛН
Place views on sheets in Revit using Python & Dynamo!
49:40
Aussie BIM Guru
Рет қаралды 6 М.
Project Revit floors to topography using Dynamo!
32:24
Aussie BIM Guru
Рет қаралды 6 М.
How to Rename Views in Revit with Dynamo
19:05
Design Tech Unraveled
Рет қаралды 4,2 М.
Create Dependent View Sets using Dynamo!
14:52
Aussie BIM Guru
Рет қаралды 6 М.
Renumber Revit Sheets Using Dynamo
21:27
ArchSmarter
Рет қаралды 29 М.
Revit+Dynamo   Create Multiple Duplicate with Detailing Views
4:12
GOYO BIMisSHARING
Рет қаралды 959
Auto Documentation in Revit with Dynamo - [Views-Sheets]
12:59
TATBIM-English
Рет қаралды 1,9 М.
Align Revit views on sheets in Dynamo Tutorial
13:41
Sergey Dunaev
Рет қаралды 8 М.
05-Dynamo tutorial: Bulk views duplicating and assigning view template
14:37
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 274 МЛН