AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set ISO dimension text draw order to the front

2 REPLIES 2
Reply
Message 1 of 3
jw7018
208 Views, 2 Replies

How to set ISO dimension text draw order to the front

Is there a way to set the isometric dimension text's layer draw order to always come in over/on top of all other dimension leaders? DimText Layer is "Title Block" and the dimension layer is "dimension".

 

The dimension style has a background but it does not always work (50% at best) so I  was thinking of a work around to apply to the template. The last image is the goal. Does anyone have any thoughts? 

 

I've tried Lee Mack's LSP but it would not save/implement the changes (for me.) 

http://www.lee-mac.com/layerdraworder.html

 

jw7018_0-1658330940419.png 

jw7018_1-1658330957654.png

jw7018_2-1658330972897.png

 

 

 

2 REPLIES 2
Message 2 of 3
Michiel.Valcke
in reply to: jw7018

the command texttofront will put all your text and other annotations to the front. It will work fine between annotations and other objects but when annotations overlap each other it will not solve your problems.

If you wish to have it executed each time you open a drawing you could save it to an ACADDOC.LSP file. if a file with this name and extension is found by AutoCAD (and toolsets) in one of the support file search paths, then the code inside will be executed once the drawing is loaded. 

you can make a .txt file, in there paste the following code:

(command "_TEXTTOFRONT" "_A")

save the file as ACADDOC.lsp and save it somewhere in the support file search paths (you can find them in the options->file tab)

People normally use it for things like loading other lisp files, purging the drawing, setting layer colors, ....

There's also an acad.lsp file. you can learn more about them here.

This might bring you there 50% of the way, cornercases where the isogeneration nor the texttofront solved the issue will need to be solved by a much more advanced routine, or manually.

Message 3 of 3
jw7018
in reply to: jw7018

I had tried TESTTOFRONT without success, good suggestion but it is not working with dimension text over multiple leaders. 

jw7018_1-1658926516080.png

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report