Display full version of the post: macro/ lisp mtext background mask

Sandervp
13.06.2014, 09:26
Does anybody knows a macro or a lisp which will first select all the mtext objects in a drawing. Second; create a background mask (background color) for all those selected mtext objects. Third; puts the "defined width" to 0 or just as long as the text? And finally; send all these mtext object above all other objects with draworder.The reason why;I do have a drawing with a lot of mtext objects in different layers. Some do have a background mask and other doesn't have. Some mtext object with a background mask do have a large defined width meanwhile the text is short. Because of that a part of the drawing is not visible (see picture).If I use the quick select command, I do can select all the mtext objects. After that I can use the draworder command and I can change the background mask settings of all those objects. But I can not change the defined width value. It isn't visible at the properties palette. Do I select only one object it does but all it doesn't...Example:(the rectangles are the background masks from the 3 mtext objects)Does anybody knows a solution for this problem?(Please excuse me for my bad English writing)Look-a-like topic:http://www.cadforum.cz/forum_en/forum_posts.asp?TID=5847