I’d like to change all the text on my General Notes page to Uppercase.
I’ve seen how to make this change to Parameter values but I’m trying to achieve this to basic text notes (non-parameter value).
Any suggestions are appreciated.
I’ve solved this by using two nodes:
“Code Block” (Value = true;)
“All Upper” (ConvertText)
There’s also a node in Rhythm for this. You can change all of them at once if you wanted to as well.
I didn’t even click that you mentioned a node from Rhythm already. Hope it helps!
Can someone please post the entire node to change all text to upper case in a Revit model.
Thank you !!
It’s in Rhythm in the package manager.
I am trying to change from lower to upper all the Views Name in a project. It seems that is not working. If you used this custom node and can help me would be great
I also have a problem to change from upper to lower, I use the same custom node from Rhythm but I can’t get my head around this …I cant make it work.
To change text note value to all upper case just use “get all elements of category” node and feed it TextNotes category. Then use an archi-lab package to get a built in parameter called TEXT_TEXT. Use upper case node in dynamo to convert all text values to upper case and feed the result back to set built in barameter that can also be found in archi-lab package.
Mine just changed the “title on sheet” parameter. Good thing Konrad is a python master! It also only changes to upper, would lower be beneficial?
I will be showing this at AU2015
In the practically Dynamo lab?
Sorry to bump an old topic, but I didn’t want to create a new one since this is the same topic. I’m new to dynamo but have been able to create some of my own, sequences (? I don’t know what to call them). I have used Marcello’s instruction, from AU 2015, to successfully change case on certain types of views (plans, sections, and schedules) and even some type parameters (proud of myself for successfully being able to replicate that). So, I’m not totally helpless. But I’ve been at this for about half a day trying to figure out why this wont work with no luck. I tried each of the solutions mentioned in this thread, but was unsuccessful. I’m probably missing something, so a set of more experienced eyes on this would be much appreciated. This is all in Dynamo 1.1.0
I couldn’t try the library that Marcello made for us for his AU 2015 class. I kept getting an error when I tried to import it.
I looked in the Archi_Lab package but couldn’t find the TEXT_TEXT node.
I tried the Clockwork Package but it didn’t work…
I tried the Rhythm Package, both “All Upper” and “TextElement.ToUpper” both didn’t work…
Any guidance would be much appreciated.
@jwarner4 Try this dyn script TextToUpper.dyn (3.8 KB)
Archi-lab works just fine:
Thank you for the quick replies!
I ran it and initially got an error says your script was made in 18.104.22.168 but I clicked “proceed anyway”
When I ran it, it didn’t work and the yellow warning indicator said this:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 4, in
IOError: System.IO.IOException: Could not add reference to assembly ProtoGeometry
at IronPython.Runtime.ClrModule.AddReference(CodeContext context, String name)
at IronPython.Runtime.ClrModule.AddReference(CodeContext context, Object reference)
at IronPython.Runtime.ClrModule.AddReference(CodeContext context, Object references)
2.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at Microsoft.Scripting.Interpreter.DynamicInstruction4.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
at DSIronPython.IronPythonEvaluator.EvaluateIronPythonScript(String code, IList bindingNames, IList bindingValues)
I recreated what you posted (I misunderstood your earlier post). It didn’t work and I got a warning at the String.ToUpper node…
“Warning: String.ToUpper operation failed.”
can we see what was the output of All Elements of Category?
Sure! Is this what you mean?
FYI I’m just testing this on the out of the Box Simple Revit project.
yes, what version of Revit are you on?
This warning makes me believe that your dynamo install is corrupt. I would have uninstalled all dynamo versions and reinstalled the latest.