Upper

Short description

Short LISP to convert selected TEXT and MTEXT objects to uppercase.

Command:

Command: TC — Converts the string contents of selected TEXT/MTEXT to uppercase.

Description:

This routine prompts the user to select TEXT and MTEXT entities, then reads every entity’s text content, converts it to uppercase using STRCASE, and rewrites the modified string back into the entity automatically.

Helper function: (if any)​

No additional helper functions; uses AutoLISP built-ins: – ssget – vlax-ename->vla-object – vla-get-textstring – vla-put-textstring – strcase

Functionalities:

• Select all TEXT + MTEXT automatically using (ssget). • Loops through each entity and converts its content to uppercase. • Uses STRCASE to ensure consistent uppercase transformation. • Displays “Done.” when complete.

Result:

All selected TEXT and MTEXT objects are converted to uppercase instantly.

Images, animations etc.

Pixel

Additional info:

Share this page:

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x