RobDraw Posted March 16, 2011 Posted March 16, 2011 (edited) It seems that RText won't work until you execute the command. Can a lisp routine be written to execute and end the command so I don't have to do it every time I start a new session? Edited March 21, 2011 by RobDraw Clarification Quote
Lee Mac Posted March 16, 2011 Posted March 16, 2011 Hi Rob, Try calling this: (defun LoadRText nil (if (not (apply 'and (mapcar (function (lambda ( a ) (or (member a (arx)) (arxload x nil)) ) ) '("acetutil.arx" "rtext.arx") ) ) ) (princ "\n** Failed to Load RText ObjectARX Modules **") ) (princ) ) Call using: (LoadRText) Quote
RobDraw Posted March 17, 2011 Author Posted March 17, 2011 Hi Lee, Thank you for trying to help. I tried putting your lisp routine into my startup suite but it doesn't appear to do anything. I'm afraid I didn't explain what I was looking for completely. I was hoping there was a way to automatically execute the RText command and then cancel it when I start a drawing. Maybe your code does just that and I put it in the wrong place? Quote
Lee Mac Posted March 17, 2011 Posted March 17, 2011 Thank you for trying to help. I tried putting your lisp routine into my startup suite but it doesn't appear to do anything. Hi Rob, My code will attempt to load the Arx Modules required by the RText command (which is basically what happens when you start the RText command). It won't (visually) do anything if the modules are successfully loaded - it will only print a message when unable to load such modules. Lee Quote
RobDraw Posted March 18, 2011 Author Posted March 18, 2011 Okay, I don't get the message but rtext still is not activated. Because of the lack of any other responces, I'm guessing this is not as easy as I thought and may be a unique or little known situation. It is just a temporary nuisance as we should be rolling out 2011 shortly. Thanks again Lee. Quote
Lee Mac Posted March 18, 2011 Posted March 18, 2011 Okay, I don't get the message but rtext still is not activated. Because of the lack of any other responces, I'm guessing this is not as easy as I thought and may be a unique or little known situation. It is just a temporary nuisance as we should be rolling out 2011 shortly. Thanks again Lee. Does a Regen affect it at all? Quote
RobDraw Posted March 18, 2011 Author Posted March 18, 2011 Does a Regen affect it at all? No it doesn't. Quote
ReMark Posted March 18, 2011 Posted March 18, 2011 Please refresh my memory. Was RText found under Express Tools in AutoCAD 2002? What exactly are you using RText for? Do you have a date or something else that changes every time the drawing is opened? Quote
RobDraw Posted March 18, 2011 Author Posted March 18, 2011 RText is in the express tools in 2002. We have a plot stamp that picks up a few things. Quote
ReMark Posted March 18, 2011 Posted March 18, 2011 So the plot stamp won't update unless RText is run? I apologize for all the questions. I never used RText. Quote
RobDraw Posted March 18, 2011 Author Posted March 18, 2011 The text does not show. I just get a rectangle with two diagonal lines in it. When I execute the RText command the text shows up for the rest of the AutoCAD session. If I close AutoCAD, I have to run RText again. This happens in both 2002 and 2008. Quote
SLW210 Posted March 18, 2011 Posted March 18, 2011 I still do not understand how using a 64 bit would change the function of RText? Are you using XP or Vista or 7? Quote
RobDraw Posted March 18, 2011 Author Posted March 18, 2011 I guess it could be an OS issue. I'm using Windows 7. Quote
ReMark Posted March 18, 2011 Posted March 18, 2011 I could understand it not working in 2008 if a variable was dropped by AutoDesk when the software was released. But it should still work in 2002 unless Express Tools isn't loaded or the routine was somehow deleted. I was under the impression it was working. Guess I'm just confused (a natural state of mind for me - LOL). Quote
SLW210 Posted March 18, 2011 Posted March 18, 2011 I have RText from a long time ago (ACAD 2000i) and still works in ACAD 2011. I am still on XP here, so Windows 7 could be the culprit. I am moving this to AutoCAD General section so more folks can help sort you out. Quote
RobDraw Posted March 24, 2011 Author Posted March 24, 2011 The same thing happens with wipeouts. They don't work until I execute the command. I don't have to do anything else, just start the command and escape and they start working. Quote
RobDraw Posted April 11, 2011 Author Posted April 11, 2011 I made a button to deal with this. wipeout ^C^Crtext ^C^C One click is a lot less frustrating than typing each command and escaping. 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.