CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.091.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedmacro/ lisp mtext background mask

 Post Reply Post Reply
Author
Sandervp View Drop Down
Groupie
Groupie


Joined: 02.Jun.2014
Location: Netherlands
Using: Autocad 2015 and older
Status: Offline
Points: 30
Direct Link To This Post Topic: macro/ lisp mtext background mask
    Posted: 13.Jun.2014 at 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
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,117 seconds.