Detail Number comes from Location on Sheet(A1, B2, etc)

Does anyone have a node or can instruct me how to create a view title that will automatically change the view number corresponding to it’s placement on the sheet? Our clients have a standard title block with a grid layout and the numbers must always correspond correctly. This would help so much!

I’ve seen a similar question asked on a thread and watched the video as posted but didn’t get too far…

Thanks,
Joe

@Nate_Holland’s Autodesk University class from 2015 has some information on this.

Page 17 of the handout is where he gets into what you are asking for.

Thanks for the reply @john_pierson ! I followed the instructions but it seems that the “Viewport.Pts” node from the “Hollandaise” Package is no longer included. Being a novice in dynamo, that basically stops me in my tracks. Any advice?

Viewport.LocationData from Rhythm should be able to take that node’s place. Perhaps one of these days I will wrap Nate’s custom workflow in a single node.

I had to tweak it pretty hard for the titleblocks in my office (or at least thought I did). If I’m alone in that, awesome, if not, is a custom node the “best” approach?

Honestly… I never know when to put something in a custom node…

Good point. :thinking: I’ll just supply the pieces to make it happen (Like the above node). Once it becomes a single (tool) node, it becomes somewhat of a maintenance nightmare.

2 Likes

Thanks John. I’m a simple BIM Coordinator with little dynamo exposure so the simpler the nodes are the better but I understand the issue once it’s become “too simplified.” I’ll keep trying and keep you posted.

1 Like

No worries at all. Give it some tries and report back as you progress. It is a process, but you can get it!

Outlining the process is always great:

  • Get the viewports to work with
  • Establish grid on sheet
  • Get viewport location within the grid
  • Set the detail number based on this grid
1 Like

Nearly every good graph I have ever made on my own starts with a piece of trace and a sharpie outlining things just like that. Unless it’s something simple or a tweak on an existing workflow, this helps me keep on track.

1 Like

Morning gents,

So I completed the entire layout as best I could but there are still a bunch of missing nodes that either weren’t included in the packages any longer or are somewhat formatted differently now. I attached the .dyn file so if anyone could give me some pointers or know where I can find the correct nodes that would be great. If you compare my dyn file to the image John posted above it will look pretty similar aside from the obvious milling nodes.

@john_pierson, the node in Rhythm you screenshotted doesnt seen to be part of the package anymore. Any other ideas?

Home.dyn (39.0 KB)

The node should still be in the latest version from the package manager

Was there any resolution to this issue? I’ve recently come to a firm that uses similar grid addressing for details and I’ve downloaded the script from the AU class (thanks for posting the link … I actually sat in on that class when it was presented, but couldn’t remember which year nor find it searching via the AU website). I was able to find & install one of the extra packages referenced in the script, but not those noted “Archi-Lab”. There are actually two possible packages: “archi-lab.net” and “archi-lab_Mandrill” … should I try these?

I’ll admit to being a complete NOOB with Dynamo, so this might just be beyond my current skill level.

Archi-lab.net is the one you want.

Thank you. That took care of most of the errors. Just one custom node to resolve “Duplicate Item Indices”: image

So I replaced duplicate indices node with a similar node from archilab and replaced the active view node from Springs and it runs with no errors: image

Except that it only actually changes the number on one viewport … and that one is not relative to the grid setup per the class example.

Does anyone have a working copy of this? I keep getting hung up on the part going from List.map to Point.X / Point Y. I think its because I am using Viewport.LocationData which which gives multiple points for each viewport.
image

Got it working :grin:

Mind sharing your working copy? I’m just learning, and going bonkers trying to get it to work…

I replaced “Duplicate Item Indices” with “List.DuplicateToMatch”… Not sure if that was right, but it at least got rid of the warning. Still haven’t been able to get the others fixed…

I updated the archi-lab package and was able to find the correct, “List.DuplicateToMatch” but noticed that in the class example under, “Set temporary detail numbers to avoid duplicates” group, he connects the, “Set BuiltIn Parameter” to “Lists.DuplicateItemIndicies” under “Remove Duplicate Addresses” group.

The “Set Builtin Parameter” I’m using from Archi-Lab only has an “_out” and not an “Elements”… Wrong package?