rustysilo Posted November 3, 2008 Posted November 3, 2008 I have just recently begun toying with multileaders and I'm wondering how the heck can one set the mleader style up so that the multileaders and their respective text will rotate properly in a viewport that has been dview twisted? I've been playing with my mleader style and can't figure this out. Quote
lpseifert Posted November 3, 2008 Posted November 3, 2008 UCS > View... then place the mleader UCS > Previous (or World) if you add this to your acaddoc.lsp it simplifies things (defun c:uw ()(command "ucs" "w")) (defun c:uv ()(command "ucs" "v")) (defun c:up ()(command "ucs" "p")) Quote
rustysilo Posted November 3, 2008 Author Posted November 3, 2008 What does that code do? Just create shortcuts for it? Quote
rustysilo Posted November 3, 2008 Author Posted November 3, 2008 There wouldn't happen to be a way to add the text box around these like you can with Civil 3D labels would there? Quote
lpseifert Posted November 3, 2008 Posted November 3, 2008 Yes, but you probably won't like it... no way to adjust the offset Quote
rustysilo Posted November 3, 2008 Author Posted November 3, 2008 Bleah! Were the programmers high when they compiled that part of the software? That sucks. I guess I'll manually add boxes. Like the rounded rectangles for them anyway. Quote
Rsblades Posted July 30, 2009 Posted July 30, 2009 UCS > View... then place the mleaderUCS > Previous (or World) if you add this to your acaddoc.lsp it simplifies things (defun c:uw ()(command "ucs" "w")) (defun c:uv ()(command "ucs" "v")) (defun c:up ()(command "ucs" "p")) I have had the same problem with the mleader being rotated but this post gave me an idea for a lisp which I have tried and the only bug with it is that if you cancel the command before you type your text the ucs remains at "v". easy fix tho (ucs w). anyways.. here it is: (defun c:MLST ()(command "cmleaderstyle""stnd") (command "ucs""v") (initcommandversion 2) (command "mleader" pause pause) (command "ucs""w") (prin1)) For those that have your own style just change it to (command "cmleaderstyle""yourstyle"). If you really dont care or use the cad default styles why couldnt you do something like: (defun c:MLST ()(command "ucs""v") (initcommandversion 2) (command "mleader" pause pause) (command "ucs""w") (prin1))[/ Works great for me Ryan Quote
Rsblades Posted July 30, 2009 Posted July 30, 2009 ops, minus the "[/" part at the end of the second code.. dont know how those got there Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.