Dim concrete columns to grids

Hi everyone, I’m new to Dynamo and currently working on a script to dimension columns relative to grids. I decided to split the task into two scripts: one to dimension vertically scattered columns to horizontal grids, and another to dimension horizontally scattered columns to vertical grids.

I’ve completed the first script and it runs, but not as expected — it generates several individual dimensions instead of a single dimension line with multiple references.

Is there a node that allows combining multiple references into a single to generate the dimension? @staylor @sovitek

I’ve uploaded both the script and the Revit model to Google Drive, as I’m currently unable to upload files directly here due to being a new member. I’m testing the script in Revit 2024 using Dynamo version 2.19.3.

thank you for your help

Hello @hquintanillaa1700 and welcome! My company will not allow me to download a zip file, so I won’t be able to view your code. If you can clip and image of your graph and post it here in the chat, then I can take a look at it.

Right off, the issue may be with lacing or how you are grouping the references that you are dimensioning to. To directly answer your question, the Genius Loci node “Dimension ByReferences” should dimension to multiple references within one string as long as all of the references are grouped together into a single list.

@staylor

Hi, I’ve updated the contents on the Drive — everything is now uncompressed. And yes, I’m using the Genius Loci nodes to generate the dimensions, but I’m not sure why it’s not dimensioning the way I want. It might be something related to the list structure.

I believe you are breaking up and grouping the references by using levels in these nodes. Show the results being returned by the “List.AddItemToFront” node to verify.

Yes, these are the results I obtained after running the script:

Based on what you are showing, the first list of references should be returning one multi-line dimension string dimensioning to those 6 references. So you are saying it is breaking them up into 5 individual dimension strings?

The script generates individual dimensions for each column that does not intersect a grid. It includes a filter to exclude columns located directly within a grid, to avoid zero-length dimensions.

For example, when running the script for the columns in Grid 1, there are two columns that are not located directly within a grid. The script generates two separate dimensions (one for each column) and, in both cases, dimensions the column along with all the grids. However, my intention is to generate a single dimension that includes all elements, rather than several individual ones.

Okay. So its a matter of using levels at the add item to front node and lacing longest at the dimension by references node, you are basically creating two groups of references one with the (5) grids and one column reference and the second with the (5) grids and the other column reference and the dimension by references node is handling each one separately. So that is why you are getting two different dimension strings. You need to combine both column references and all (5) grid references into one group if you want everything dimensioned on one dim line.