Good Afternoon
I’m pretty new to Dynamo and don’t have a coding background so go easy on me.
I’ve been using Revit for the last 7 years and have been wanting to be able to align the dimension text within dimensions automatically for a long time as it make the end drawing look a lot neater.!
I managed to produce a script to be able to do this, but I’ve found that its a guessing game on which one to use.
I’ve managed to get it so it questions the coordinates of the text itself and the align to the dimension I’m wanting to align to.
The first problem is that i have to run 3 different scripts hoping its the correct one for that orientation. Ive attached one image of the X script, the Y and Z are the same just nodes swapped around, see attached image
I’m wanting to be able to run just one script that questions the 3 scripts and automatically aligns the text on the dimensions
The second problem I’m having is being able to do this for multiple dimensions at once rather than one at a time.
Have I used the correct way of doing this or is there another way?
My apologies I am extremely new to Dynamo and have a very limited understanding. When I play the file in the dynamo player It says" theyre are no inputs to edit" and if I try to edit the script I get the below errors:
I have not made this script Dynamo Player Ready. You can do this by opening the script and right click the Select Model Element nodes and Mark the As Input. If you now save the file and reload the graph in the Dynamo Player, the inputs will be there.
Also, you do not have the package Rhythm yet. You can get Rhythm by opening the Graph. Go to the Package manager and search for Rhythm. I used 3 nodes from this package, so you need the package to make the script work.
If there are still things you have questions about, please let me know!
This is quite an old thread, maybe the Nodes have changed over the course of it?
Might be that @john_pierson can help out since he maintains the Rhythm package.
Has this been resolved? I have never used dynamo, but the text alignment issue is incredibly frustrating and I would be very happy to invest a bit of time in remedying it.