ROBP Posted March 18, 2014 Posted March 18, 2014 Hi to all experts, Need to get a feedback on this lisp i found that draws pipes ,elbows and tee's. The problem i have is that once the lisp loaded in a new drawing, i get an error message that the center_lines when running it is missing therefore can it be fixed and get the lisp to create the green layer default cad center line created automatically. Thank you for for your precious help and posting back the corrected version. Best R Quote
David Bethel Posted March 19, 2014 Posted March 19, 2014 In addition to being very poorly written, there are functions missing ( layercenter_lines layer0 layercenter ) The pipedata appears to be only valuable snippet and it needs to be rewritten and verified. I would think that there are much better 2d pipe routines out there. Unless that is you want to invest the energy into the rewrite. -David Quote
ymg3 Posted March 19, 2014 Posted March 19, 2014 (edited) Robp, Here it should work more or less. I went the lazy way and replace the call to the missing routine with a (setvar 'CLAYER "Center Lines") or a (setvar 'CLAYER "0") I agree with David that there are much better routine out there. There is one here on Afralisp DDPIPE by Kenny Ramage However it is a VLX and is for metric pipe. Also this, as an early work by Lee Mac PIPE & FLANGE DRAUGHTSMAN At least you'll be able to run it and make your own opinion. ymg pipe.lsp Edited March 19, 2014 by ymg3 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.