@Nico_Stegeman I unfortunately am not able to investigate this as I am limited the software already installed on my pc. Our servers are set up in such a way that we cannot install software. Good luck sorting it out.
Nico, maybe you can work with this script.
Its based on Jarro’s code and places grid dimensions at the left, right, front and backside of the outer grids.
Hi All,
I have been trying to dimension a wall in a section view in revit. The view is drawn from the center of the wall, looking out. I need to pull two dimension strands for the overall length and height of the wall and two more strands for openings. I have been using the 'Dimension.ByElements" Node. I figured out how to dimension to a line in made in Dynamo for the dimension offset. The view and suffix weren’t hard to input ether. But after some effort, it seems like that node does not allow you to pull dimensions from the actual faces of an element. I think I need python, but haven’t yet made the plunge. Any help would be appreciated!
----- this post has been moved to a new topic - see Dimension from Faces of an Element
Hi solvers and all,
Automatic dimension by dynamo is a great achievement and thanks to all the solvers of this issue.
I like to request that could these solutions might be put all in one place i.e., in a dynamo file/topic with all links as well if any custom nodes or packages could be created to share for the community as well every facets of automatic dimension like section/elevation dim etc might be addressed and documented in time until a moderate end of the topic?
Hi all. Fantastic topic this one. I’ve managed to make a definition, following the instructions from Viktor and Petar, to dimension walls easily. Then I’ve changed that to dimension only by the exterior faces of the walls because we use different walls to make core and finish walls and wanted to dim the total width of the wall. Now i want to modify the python script to accept more than one line and create one dimension for each. I’ve tried to create another for loop to deal with the multiple lines, and it seems to work, but when he enters the element’s loop he gives me a warning.
Since I have no experience with python (I can only copy and paste some Snippets of code) I am sure I have made something very stupid. Does someone have a clue of what’s wrong with the code above?
P.S.: I think this is strongly related to the original discussion, that’s why I didn’t start another topic.
Well, thinking about i realized I had to change the for loop to use a count instead of the items. This way I can iterate through the multiple lists of elements (one for each line) too. I suppose this was the problem since I was trying to use lists instead of elements. I get no more warnings now but it creates only one dimension. So the question remains: Does someone knows what is wrong?
Hi @shehab10
Probably this is working, so far i tried. See the images.
Hi @Petar_Penchev1@viktor_kuzev and others,
Thanks for such a great topic. Could we make this script more rich by making it to run in dynamo player? Reference lines should be created automatically as the offsets of the walls and so the dims. Any help?
How could I dimension with a line based element, for example ductwork or a pipe. It works for the centerline, but if I want to dimension to one edge of the element, how could I do that?.
Thanks a lot.
Note:
-Whitout creating another element becouse I will lost the reference and the dimension doesn’t update if I move the Ductwork or pipe, maybe if there is a way to restrain (lock) one line to the element with dynamo, please let me know How.
Dimensions_WIP.dyn (13.8 KB)
This is what I have so far. For some reason, it shows an error in the line that ask to create the dimension. Any help would be appreciated, since I don’t know Python really.
I have this working, but now I am looking for a way to measure (reference) angled walls. For this I need to find the Revit reference of the edge. Do you know how to find this? Is there something like Tags.LookupTag for a ‘RevitCurveReference’ ?
Sorry for late reply. But I don’t know about it and actually shortage of time is preventing me to look into this topic again. Could you invite other Dynamo Masters for your problem? Hopefully they will solve it.
Thanks.
Hi, this script does not have any benefits compared to the built-in option in Revit atm right? Since walls with the width of all openings can now be dimensioned in one click. Or am I missing something about this script?