Hi guys,
I am a bit stumped. I'm thinking this should be easy, but perhaps I am wrong (as usual).
So, I want MText to run just as it is. Let the user decide how they want MText justification or what have you, but I want the text to go to a desired layer when the command is executed.
So if the user is on the PLAN layer and they type in "MTEXT", the current layer will go to the NOTES layer and the user will type in what they want and click OK. Then the current layer will go back to the PLAN layer.
Or, the user is on the PLAN layer and they type in "MTEXT" and type away. When they finish and click OK, the text is then taken and placed on the NOTES layer.
I've looked at Darryl's post, MText in Lisp (
http://www.theswamp.org/index.php?topic=1925.0) and tried unsuccessfully to make it work. I can't have the (setq txt (getstring "\n Put text here: ")) involved,
the user has to put the text in as it is typed in at the dialog box on the screen.
I've also looked at CAB's Entmake MText post (
http://www.theswamp.org/index.php?topic=949.0).
Is this the only way to do this ??
Thank you for your help.