im trying to create a script in Dynamo to automatically place dimensions between elements in this case structural framings/columns in active view, with flexibility for switching between families and orientation (horizontal/vertical)
im fairly new to Dynamo but made a couple of simple scripts.
im not asking for a whole script but just help to get started on how to create dimensions between elements
This is a very thorough discussion about dimensioning walls, if you can get this to work, I assume it would be relatively simple to set it up for the faces of your structural elements:
try as here and see if it could be better…basic the line by point its just for a location for the dimline…if all go wrong then draw a detail line in the view and get the element.curve and try if that works
I dont know if i’m reading it correctly because the image aint that sharp on my screen. But the code Block surrounded with a red block reads 7 right? and in the other script i see in both code blocks a 1 referenced. so maybe there is a difference there?