datalife Posted January 29, 2013 Share Posted January 29, 2013 Hello ; I have a lisp that measure the length of a line; but I want to label it see below: Existing lisp: _____________________________ 10.5 New lisp: ______________________________ L = 10.5 Where L = is the label I need. Anyone can help me on the new lisp? Thanks plen.lsp Quote Link to comment Share on other sites More sharing options...
Tharwat Posted January 29, 2013 Share Posted January 29, 2013 Hi . Just modify this line from the code ... (setq tStr [color=blue][b](strcat "L= "[/b][/color] (rtos (vla-get-length (vlax-ename->vla-object cEnt)))[b][color=blue])[/color][/b] Quote Link to comment Share on other sites More sharing options...
datalife Posted January 29, 2013 Author Share Posted January 29, 2013 Thanks again it WORK...........Tharwat Quote Link to comment Share on other sites More sharing options...
Tharwat Posted January 29, 2013 Share Posted January 29, 2013 Thanks again it WORK...........Tharwat You're welcome . Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted January 29, 2013 Share Posted January 29, 2013 Hi This routine looks perfect to me. But if wanna put sufix. E.g. 23.63m Which line should I have modifying? Regards Quote Link to comment Share on other sites More sharing options...
Tharwat Posted January 29, 2013 Share Posted January 29, 2013 HiThis routine looks perfect to me. But if wanna put sufix. E.g. 23.63m Which line should I have modifying? Regards Like this ... (setq tStr [color=blue][b](strcat [/b][/color](rtos (vla-get-length (vlax-ename->vla-object cEnt))) [b][color=blue]"m")[/color][/b]) Quote Link to comment Share on other sites More sharing options...
Madruga_SP Posted January 29, 2013 Share Posted January 29, 2013 Thanks, Thawart. I really appreciate your help. Regards Quote Link to comment Share on other sites More sharing options...
Tharwat Posted January 29, 2013 Share Posted January 29, 2013 Thanks, Thawart. I really appreciate your help. Regards You're welcome any time . All credit goes to the author of the routine . Quote Link to comment Share on other sites More sharing options...
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.