Quick comment, View Types are now called View Family Types (It took me a while to find it) Great video
@AussieBIMGuruАй бұрын
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.
@jeremybowen62693 жыл бұрын
This helped me tremendously, I can't thank you enough :)))
@AussieBIMGuru3 жыл бұрын
Glad it helped!
@borun672 ай бұрын
Teşekkür ederim!,Gracias!, ありがとうございます ,THANK YOU ∞
@AussieBIMGuru2 ай бұрын
You're welcome!
@jedsanford78792 жыл бұрын
most of my steamnodes are broken in 2022- is it not being updated anymore?
@AussieBIMGuru2 жыл бұрын
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).
@Iosconvolto4 жыл бұрын
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 ;-)
@AussieBIMGuru4 жыл бұрын
You're welcome! Man wait til you reach dynamo 2.1+, it's on a whole 'nother level! Hang in there in the meantime.
@letsbimtogether5 ай бұрын
"it's pretty cool" :D haha it is very cool!
@AussieBIMGuru5 ай бұрын
Haha glad you found it cool!
@amirgabrielli35742 жыл бұрын
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?
@SwapnilGharatalibag2 жыл бұрын
i also have same issue can anyone tell list of packages to be install
@AussieBIMGuru2 жыл бұрын
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.
@veerachaithiraman40392 жыл бұрын
Thank you so much Can you change point viewport to top left
@danieltrevijanostehle78293 жыл бұрын
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.
@AussieBIMGuru3 жыл бұрын
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.
@kvasovie2 жыл бұрын
@@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 :)
@AussieBIMGuru2 жыл бұрын
@@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.
@kvasovie2 жыл бұрын
@@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?
@AussieBIMGuru2 жыл бұрын
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.
@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 Жыл бұрын
Yes rhythm can create viewports.
@RivellaLight11 ай бұрын
🙏 holy cow! It runs! It doesn't apply the View Type but it's placing views on sheets and saving me TONS of work 🥲
@AussieBIMGuru11 ай бұрын
Sounds like it's almost there! Glad it helped to that degree at least
@TheAdubs4 жыл бұрын
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.
@AussieBIMGuru4 жыл бұрын
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.
@douniatouil81144 жыл бұрын
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.
@AussieBIMGuru4 жыл бұрын
@@douniatouil8114 thanks Dounia, it happens to me from time to time as well! Data is unforgivingly explicit
@alejandroarrunada86123 жыл бұрын
Sweeet. Thanks for sharing
@AussieBIMGuru3 жыл бұрын
Youre welcome!
@iftekharkhan88793 жыл бұрын
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???
@AussieBIMGuru3 жыл бұрын
This does work to some degree, but it uses a packing algorithm to place the views so you can't specify the locations exactly.
@Adrianplazz12345 Жыл бұрын
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 Жыл бұрын
Make sure you have lists of equal depth (@L2) with equal length (1 sheet/1 view/1point per placement).
@Adrianplazz12345 Жыл бұрын
@@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 Жыл бұрын
@@Adrianplazz12345 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.
@user-by9yb5kv2k11 ай бұрын
it isn't working for my sheets. I couldn't figure out where i am going wrong.
@AussieBIMGuru10 ай бұрын
Try using Viewport.Create from the Rhythm package instead maybe, the one I use here is pretty buggy these days.
@iftekharkhan88793 жыл бұрын
Thanku
@AussieBIMGuru3 жыл бұрын
You're welcome!
@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 Жыл бұрын
Yes the package is out of date now unfortunately, try the viewport.create node in the rhythm package instead.
@SrijatVerma4 жыл бұрын
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.
@AussieBIMGuru4 жыл бұрын
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.
@SrijatVerma4 жыл бұрын
@@AussieBIMGuru I have done that too. Will send you an email.
@AussieBIMGuru4 жыл бұрын
@@SrijatVerma replied, looks like it's just a simple case of filtering the viewport types vs. their name. Hope that helps!
@samcater9870 Жыл бұрын
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 !
@samcater9870 Жыл бұрын
@@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 !
@1wango24 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
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
@chrismillar23954 жыл бұрын
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?
@AussieBIMGuru4 жыл бұрын
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.
@rubengonzalez17294 жыл бұрын
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!
@AussieBIMGuru4 жыл бұрын
@@rubengonzalez1729 yes using names instead of their related element is a common error even I make from time to time!
@mariavallejos232 жыл бұрын
@@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!
@AussieBIMGuru2 жыл бұрын
@@mariavallejos23 yes it is viewport.createbypoint
@NewVoiceSM4 жыл бұрын
How, we can make sheet view different group type in one floor
@vidarpi2 жыл бұрын
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!
@AussieBIMGuru2 жыл бұрын
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.
@prasunghosh32873 жыл бұрын
Hi Is it possible to create dynamo scripts for copy monitor of link model?
@AussieBIMGuru3 жыл бұрын
As far as I know there isn't API exposed for it unfortunately.
@schnubbyy_3 жыл бұрын
Do you have a script for legends on sheets? And how does is work by different parts/scope boxes?
@AussieBIMGuru3 жыл бұрын
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_3 жыл бұрын
Amazing, thanks I'll try this.
@ronjr8113 жыл бұрын
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??
@AussieBIMGuru3 жыл бұрын
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.
@alexj66584 жыл бұрын
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?
@AussieBIMGuru4 жыл бұрын
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.
@alexj66584 жыл бұрын
@@AussieBIMGuru The elements are coming from Tool.PlaceViewsOnExistingSheets node.
@AussieBIMGuru4 жыл бұрын
@@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.
@alexj66584 жыл бұрын
@@AussieBIMGuru Thats exactly whats happening. Tool.PlaceViews is saying that he views are already placed but they are not.
@AussieBIMGuru4 жыл бұрын
@@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.
@scelem4 жыл бұрын
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!
@scelem4 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
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.
@scelem4 жыл бұрын
@@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!
@AussieBIMGuru4 жыл бұрын
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.
@LongPham02044 жыл бұрын
what is pakeges for tool.placeviewonsheet
@AussieBIMGuru4 жыл бұрын
Steamnodes See 1:08 for custom nodes
@user-zz4ns4ig8c Жыл бұрын
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 Жыл бұрын
Not sure what the error is so not sure what a fix would be...
@MT-nj6it3 жыл бұрын
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.
@AussieBIMGuru3 жыл бұрын
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-nj6it3 жыл бұрын
@@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!
@coreymanno89462 жыл бұрын
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?
@AussieBIMGuru2 жыл бұрын
Hrm steamnodes is a pretty old package now, maybe try the node from Rhythm for this instead.
@beezzwax201310 ай бұрын
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?
@AussieBIMGuru10 ай бұрын
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.
@beezzwax201310 ай бұрын
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
@AussieBIMGuru10 ай бұрын
@@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.
@user-ik8tn3rd6u4 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
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...!).
@user-ik8tn3rd6u4 жыл бұрын
@@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 .
@premkumar89s3 жыл бұрын
Hi BIM guru, i tried this script finally showing "View is already placed" actually nit placed.
@AussieBIMGuru3 жыл бұрын
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.
@marcelobecerra21453 жыл бұрын
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! :)
@AussieBIMGuru3 жыл бұрын
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.
@user-df5uy2nb5t Жыл бұрын
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 Жыл бұрын
If you run the node more than once it will say that typically. Alternatively try the create viewport node from rhythm.
@user-df5uy2nb5t Жыл бұрын
@@AussieBIMGuru Thank you for getting back to me so quickly but unfortunately i have now ended up with a null value
@AussieBIMGuru Жыл бұрын
@@user-df5uy2nb5t id say try dynamo forums then, easier to troubleshoot specifjc issues there.
@user-df5uy2nb5t Жыл бұрын
@@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
@peterjames15503 жыл бұрын
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?
@AussieBIMGuru3 жыл бұрын
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.
@tienlam962 жыл бұрын
I have same issue, and I use Object.Type but nothing change :( .
@hallydesai24642 жыл бұрын
I have the same issue.. can you please provide a solution for thid
@AussieBIMGuru2 жыл бұрын
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.
@hallydesai24642 жыл бұрын
@@AussieBIMGuru thanks
@AMIR_MOEINI_SH2 жыл бұрын
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
@AussieBIMGuru2 жыл бұрын
Possibly your Dynamo version. There is another node from the Rhythm package for getting viewport locations I think, maybe check there.
@Hibbstech4 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
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.
@Hibbstech4 жыл бұрын
@@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 ;)
@AussieBIMGuru4 жыл бұрын
Hi there, sorry KZfaq 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.
@fulybuilt3 жыл бұрын
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
@AussieBIMGuru3 жыл бұрын
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.
@fulybuilt3 жыл бұрын
@@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?
@AussieBIMGuru3 жыл бұрын
@@fulybuilt it would be effectively the same location as this workflow, but you would need to get the schedule type instead of a view.
@fulybuilt3 жыл бұрын
@@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.
@fulybuilt3 жыл бұрын
I've emailed you
@Adrianplazz12345 Жыл бұрын
Hello Gavin, at the List.IndexOf node i'm getting a -1 value. Do you know what i might be doing wrong?
@AussieBIMGuru Жыл бұрын
Generally this means there is no matching values. Check spelling and case sensitivity, these are common reasons for this.
@Adrianplazz12345 Жыл бұрын
@@AussieBIMGuru thanks for the help
@ravichandra-up1nu4 жыл бұрын
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..
@AussieBIMGuru4 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
@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).
@AussieBIMGuru4 жыл бұрын
@Ryan Dempsey if you get to 2020 try out my package on my github instead - I rebuilt my own version of the node.
@markbrko Жыл бұрын
Hi can this be done with elevations at all?
@AussieBIMGuru Жыл бұрын
Yes you can place any view that can make a viewport using this type of workflow.
@josephkirkpatrick3453 жыл бұрын
It seems the node Tool.PlaceViewsOnExistingSheets has broken due to updated dynamo, any advice on how to fix this?
@AussieBIMGuru3 жыл бұрын
I have a video where I show how to do this in Python instead; kzfaq.info/get/bejne/bNV4n5CCqsrZpKs.html
@josephkirkpatrick3453 жыл бұрын
@@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.
@AussieBIMGuru3 жыл бұрын
@@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.
@josephkirkpatrick3453 жыл бұрын
@@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!!
@pauceanu0003 жыл бұрын
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
@AussieBIMGuru3 жыл бұрын
The custom package is quite outdated now unfortunately. Maybe try my equivalent node in my custom package 'Crumple'. This one should work.
@pauceanu0003 жыл бұрын
@@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.
@AussieBIMGuru3 жыл бұрын
@@pauceanu000 make sure the views and sheets are elements and not names. Otherwise it should work.
@pauceanu0003 жыл бұрын
@@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!
@AussieBIMGuru3 жыл бұрын
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.
@franciscobarbieri49533 жыл бұрын
I can't find the node Place Views on Sheet. Is this coming from a custom Package?
@AussieBIMGuru3 жыл бұрын
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.
@johnvictorartienda20444 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
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.
@johnvictorartienda20444 жыл бұрын
@@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?
@AussieBIMGuru4 жыл бұрын
@@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.
@drummermanjustin2 жыл бұрын
@@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!
@AussieBIMGuru2 жыл бұрын
@@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.
@inouizi4 жыл бұрын
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!
@AussieBIMGuru4 жыл бұрын
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
@inouizi4 жыл бұрын
@@AussieBIMGuru Thank you!
@carloscampos57673 жыл бұрын
Would you consider uploading the script by any chance?
@AussieBIMGuru3 жыл бұрын
The script is available on my github.
@luupieper4 жыл бұрын
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 ...
@AussieBIMGuru4 жыл бұрын
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.
@luupieper4 жыл бұрын
@@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?
@AussieBIMGuru4 жыл бұрын
@@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.
@luupieper4 жыл бұрын
@@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.
@AussieBIMGuru4 жыл бұрын
@@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.
@annaaestas903 жыл бұрын
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?
@AussieBIMGuru3 жыл бұрын
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.
@annaaestas903 жыл бұрын
@@AussieBIMGuru I replaced the one node with the node from crumple, everythings else remaining the same as in the video. Should that work?
@AussieBIMGuru3 жыл бұрын
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.
@annaaestas903 жыл бұрын
@@AussieBIMGuru You are overestimating my abilities a little...I have send you an email, very grateful if you can help.
@Rob_Bo2 жыл бұрын
@@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.
@asfanjagirdar15534 жыл бұрын
i am not getting place views on sheets existing in dynamo
@AussieBIMGuru4 жыл бұрын
Which part isn't working? As an alternative, Rhythm package has a similar node.
@asfanjagirdar15534 жыл бұрын
Also I am not getting option of import excel
@asfanjagirdar15534 жыл бұрын
@@AussieBIMGuru this one I got thanks
@AussieBIMGuru4 жыл бұрын
Sounds like you're in an old dynamo. Try finding 'read excel' instead.
@dariodellafemina97004 жыл бұрын
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
@AussieBIMGuru4 жыл бұрын
Thanks Dario. Sure, my email is in the banner!
@ThanhNguyen-bu8xp3 жыл бұрын
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.