e.mounir Posted December 30, 2009 Posted December 30, 2009 Hi all I have REFDES.LSP and I used it from long time it makes automatic number after the text but now I need it makes the number before the text Can any one make it and attached it for me please REFDES.LSP Quote
ReMark Posted December 30, 2009 Posted December 30, 2009 So instead of looking like this: A1 you want it to look like this: 1A. Is that correct? Quote
lpseifert Posted December 30, 2009 Posted December 30, 2009 Hint... try swapping ct and (itoa sn) Quote
ILoveMadoka Posted December 30, 2009 Posted December 30, 2009 It will look like this: (setq nxt (strcat (itoa sn) ct )) Quote
ReMark Posted December 30, 2009 Posted December 30, 2009 Should probably reverse the lines that ask for the Designator Letter and the Starting Number too, right? Not that the result isn't what the OP is looking for. Quote
Lee Mac Posted December 30, 2009 Posted December 30, 2009 Do either of these help you? http://www.cadtutor.net/forum/showthread.php?t=37420 http://www.cadtutor.net/forum/showthread.php?t=35234 Quote
ReMark Posted December 30, 2009 Posted December 30, 2009 Lee: Judging by some of the presets in the lisp routine the OP is using I'm not sure, at this point anyway, he could use your fantabulous(!) routines. His loss. Quote
ILoveMadoka Posted December 30, 2009 Posted December 30, 2009 I think the code needs some "other tweaking" as well. It works but SHEESH!! Quote
ReMark Posted December 30, 2009 Posted December 30, 2009 The code must have been specific to this one company perhaps to accommodate making a "scaled" drawing in model space? 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.