AutoCAD 2013/2014/2015

AutoCAD 2013/2014/2015

Reply
Active Contributor
41 Posts
4 Kudos
Registered: ‎09-17-2008
Post 1 of 3

MTEXT Edit Select All Text

254 Views, 2 Replies
07-14-2014 12:40 PM

I am curious if there is a way to have MTEXT editor automatically select all the text in the particular item. 

 

I am doing a lot of copy/paste/edit, and every time that I do an MTEXT edit, I first have to hit CTRL-A to select everything in the item.  Is there a command or variable that will automatically select all of the text when I double click the item, so I don't have to keep hitting CTRL-A?

 

Thanks,


-Dan

*Expert Elite*
2,218 Posts
67 Kudos
Registered: ‎12-11-2003
Post 2 of 3

Re: MTEXT Edit Select All Text

07-14-2014 03:32 PM in reply to: dbinkney
I can get you started on a LISP expression.
Go into customization forum and ask how to take this and "Match String" or send to the clipboard...

(cdr (assoc 1 (entget (car (entsel "Select MText object: ")))))

Or a more expanded and somewhat foolproof method [one method]:

(if (setq d (entsel "Select MText object: "))
(if (= (cdr (assoc 0 (entget (car d)))) "MTEXT")
(setq d1 (cdr (assoc 1 (entget (car d)))))
(alert "Object selected not MText. ")
);if
(alert "Nothing selected. ")
);if

You did not mention if you are using LT?
Scot-65
Dyslexia is a permanent physical disability that cannot be seen.
Introverts is proof that there is indeed intelligent life on this planet.
Active Contributor
41 Posts
4 Kudos
Registered: ‎09-17-2008
Post 3 of 3

Re: MTEXT Edit Select All Text

07-15-2014 10:00 AM in reply to: scot-65
I'm using Civil 3D 2014 Infrastructure Design Suite Premium.

Thank you very much! I am going to enlist some help with getting the LISP entered, and will let you know if I have any problems.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!