Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

change case

Anonymous

change case

Anonymous
Not applicable

Hi!


Can you tell me please how can I change in Revit upper case text to lower case or opposite?


Thank you

0 Likes
Reply
Accepted solutions (2)
20,024 Views
21 Replies
Replies (21)

tuuletin
Collaborator
Collaborator

No way you can do it in revit, but you can copy-paste your text into any text editor (ms word, for example), and change the text case in this program. Then copy-paste back into revit

Keith_Wilkinson
Advisor
Advisor
Accepted solution

This kind of thing can be done in dynamo providing the text is a parameter (ie it won't work on 'dumb' text).  See below for an example script that chanages all room names to upper case.

 

HTH

 

K.

 

2015-11-12_09-18-54.png



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides

Anonymous
Not applicable

in Revit Add-ins "Model Review", set Element Parameter Case for Texts as shown condition below. 

Model Review - Uppercase.PNG

 

Then tick "Allow Correction" in Basic info Tab. 

Model Review - Uppercase allow correction.PNG

 

Save .bcf file and Run Check Model Review using this .bcf.

In the Model Review Result, click highlighted wrench like tool. Then All Texts in the model will be changed it's case as you've set. šŸ™‚

Model Review - Uppercase allow fix.PNG

Anonymous
Not applicable

Thanks, man.

Some Superheroes don't wear a cape

0 Likes

diegus68
Contributor
Contributor

Your solution is magic. Thanks

But. Where can I find that .bcf file?

 

0 Likes

keng4SFPG
Explorer
Explorer

I think we change text to uppercase or lowercase in autocad easier

just use tcase command only.

revit seem complex

0 Likes

Keith_Wilkinson
Advisor
Advisor

By comparison, yes, yes it is... 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides

gordonCTJSZ
Explorer
Explorer

wow, why is Revit so convoluted sometimes? Any other app... simply click one button - all caps /  sentence case  /  all lower case.

Alfredo_Medina
Mentor
Mentor
Accepted solution

It is the same in Revit:

 

For text notes: click on the note > select the text that you want to modify > from the tools on the ribbon, find this icon, click, done.

 

2023-10-30_9-54-36.png

 

For text in parameters, see post # 3 above.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin

gordonCTJSZ
Explorer
Explorer

Thank you. so simple. All the other suggestions were so complicated or said it wasn't possible.

Anyway,  thank you, Alfredo

j.hutchingsEYDMZ
Contributor
Contributor

Quick tip: If you already have PyRevit installed (which is such a useful plugin in so many ways!) then you already have some text-change options.  Maybe not everything you want, but it just might suffice.

 

Select one or more instances of text, then choose PyRevit->Modify->Override and select Override Text from the dropdown.  From here you can convert the selected text to either of these three options:

EVERYTHING IN UPPERCASE

everything in lowercase

Everything In Titlecase

 

Another tip: I have this 'override' section of PyRevit mapped to these keyboard shortcuts, which don't conflict with anything predefined by Revit:

OD - override dimension

OT - override text

OV - override color

 

That last one, override color, is an incredibly fast way to colourize something.  I can select a couple of walls, hit OV, choose Red, and voila!  Easy to make those elements stand out in a hurry.

gordonCTJSZ
Explorer
Explorer

wow.

Thank you, Alfredo. Apologies to Revit. My bad!

Gordon

0 Likes

Keith_Wilkinson
Advisor
Advisor

Remember, this only works for text notes.  If you want to change the case of parameter values such as room names you will need another approach (such as Dynamo).

Comparisons with AutoCAD should only go as far as text notes, beyond that Revit and AutoCAD are different animals so hoping for a similar 'simple' solution is fairly optimistic.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides

ben_vawdreyZULWG
Observer
Observer

Great solution, thankyou! I wasn't aware of that solution after losing NoteBuilder from R20. 

0 Likes

GHyslop39N6K
Explorer
Explorer

So you could copy paste the room name text to a text note, change the case, then rename and paste ?

 

0 Likes

ToanDN
Consultant
Consultant

@GHyslop39N6K wrote:

So you could copy paste the room name text to a text note, change the case, then rename and paste ?

 


You can use Dynamo to change case for any parameter.

0 Likes

Keith_Wilkinson
Advisor
Advisor

If you're going to do that you'd be a well just typing in the value you want... As Toan has suggested, look at Dynamo, a fairly basic script will do this for you.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes

GHyslop39N6K
Explorer
Explorer

Thanks Keith. I'm aware it can be done in Dynamo. Was just making a suggestion. It all depends on whether you have lots to change or just a small amount, especially if you don't already have a dynamo script for it.

It's somewhat irrelevant for me though since I'm structural. šŸ™‚