LEsq Posted December 21, 2009 Posted December 21, 2009 LoLDo you even code in Lisp anymore Luis? I know you are a monster with C (based on what I've seen at theswamp). I use it now, just to run some small tests now and then, but nothing serious done guess in at least 5 years ago... but think that did almost everything from simple to complex stuff in my lisp days. And yes I miss that. Quote
LEsq Posted December 21, 2009 Posted December 21, 2009 I've seen some of your sigs on theSwamp Luis... saying how "mickey mouse" your LISP is lol But yeah, your C is awesome Well, I learned from the masters: Owen, Tony, Glenn, Chad, Alexander, Fernando, Mick... That I recall now Quote
alanjt Posted December 21, 2009 Posted December 21, 2009 I use it now, just to run some small tests now and then, but nothing serious done guess in at least 5 years ago... but think that did almost everything from simple to complex stuff in my lisp days. And yes I miss that. I modified your area reactor lisp and use it almost everyday. I wish I could have been around to play with GBPoly when it was being passed around. I've used many of your posted work at theswamp as learning examples. Quote
Lee Mac Posted December 21, 2009 Posted December 21, 2009 I wish I could have been around to play with GBPoly when it was being passed around. I've used many of your posted work at theswamp as learning examples. I second that Quote
LEsq Posted December 21, 2009 Posted December 21, 2009 I modified your area reactor lisp and use it almost everyday. I wish I could have been around to play with GBPoly when it was being passed around. I've used many of your posted work at theswamp as learning examples. That's good to know, that some of my lisp stuff that I left out it is of good use. About GBPoly it is left in the dark abandoned. Quote
alanjt Posted December 21, 2009 Posted December 21, 2009 That's good to know, that some of my lisp stuff that I left out it is of good use. About GBPoly it is left in the dark abandoned. ............ Quote
LEsq Posted December 21, 2009 Posted December 21, 2009 ............ The problem with my GBPoly application, was that got very little interest. And to those that end up getting a copy, they required to register on their computer. It was even accessible from .NET (C#) too. At the end make the decision to turn the light off, and focus on my job now full time. If both of you would like to give it a chance, let me know and see what I can do. LE! Quote
alanjt Posted December 21, 2009 Posted December 21, 2009 I would LOVE a chance! The problem with my GBPoly application, was that got very little interest. And to those that end up getting a copy, they required to register on their computer. It was even accessible from .NET (C#) too. At the end make the decision to turn the light off, and focus on my job now full time. If both of you would like to give it a chance, let me know and see what I can do. LE! Quote
LEsq Posted December 21, 2009 Posted December 21, 2009 I would LOVE a chance! OK, contact me via private mail.... and see what we can do. Quote
Lee Mac Posted December 21, 2009 Posted December 21, 2009 If both of you would like to give it a chance, let me know and see what I can do. Certainly Luis!, I believe you already have my email Many thanks mate. Lee Quote
alanjt Posted December 21, 2009 Posted December 21, 2009 OK, contact me via private mail.... and see what we can do. Emailed.... Quote
bubba74 Posted December 22, 2009 Author Posted December 22, 2009 Wow, I hate to go back to something rudimentary after your in-depth discussions My routines are working great....except... I seem to have an issue of running into the maximum number of selection sets that autocad can handle. Can you guys enlighten me on a way to clear out selection sets? I have NO experience in visual lisp, but can I interject a vlisp command in the middle of my lisp? Maybe something like: [b][font=Arial][i][size=2] (vla-delete (vla-item ssets "SS1"))[/size][/i][/font][/b] Right now my all of my code is in regular autolisp and I would like to keep it that way for the time being. Quote
Lee Mac Posted December 22, 2009 Posted December 22, 2009 How are you running into the maximum number - your code only uses three... Quote
bubba74 Posted December 22, 2009 Author Posted December 22, 2009 It happened after continuous use. Could it be that my variables are global? Quote
Lee Mac Posted December 22, 2009 Posted December 22, 2009 It happened after continuous use. Could it be that my variables are global? Why not use my code - it should be quicker and my variables are localised? Quote
alanjt Posted December 22, 2009 Posted December 22, 2009 It happened after continuous use. Could it be that my variables are global? So, start localizing your variables. Quote
bubba74 Posted December 22, 2009 Author Posted December 22, 2009 Lee, I'm not that comfortable with your code yet (vlisp and such) and I have to get back into paying work for now. I just don't have the time now. Please don't take offense to that. I'm sure your way is better and faster. Alan, Would making variables local solve that? I'm unsure of autocad's memory allocation works with local and global variables. I just figured that the selection sets were redefined every time so there wasn't a problem. The reason I'm asking is so I can understand the problem and avoid future issues. Quote
alanjt Posted December 22, 2009 Posted December 22, 2009 Lee, I'm not that comfortable with your code yet (vlisp and such) and I have to get back into paying work for now. I just don't have the time now. Please don't take offense to that. I'm sure your way is better and faster. Alan, Would making variables local solve that? I'm unsure of autocad's memory allocation works with local and global variables. I just figured that the selection sets were redefined every time so there wasn't a problem. Can't hurt. :wink: Regardless, you should ALWAYS localize your variables. Quote
Lee Mac Posted December 22, 2009 Posted December 22, 2009 Lee, I'm not that comfortable with your code yet (vlisp and such) and I have to get back into paying work for now. I just don't have the time now. Please don't take offense to that. I'm sure your way is better and faster. Alan, Would making variables local solve that? I'm unsure of autocad's memory allocation works with local and global variables. I just figured that the selection sets were redefined every time so there wasn't a problem. The reason I'm asking is so I can understand the problem and avoid future issues. Not a problem, I can understand not running code that you don't understand. Can't hurt. :wink: Regardless, you should ALWAYS localize your variables. I second this. Quote
bubba74 Posted December 22, 2009 Author Posted December 22, 2009 Ok guys I'll give it a try. Thanks. Do you guys localize ALL your variables in a function? It seems like a pain in the ass, especially for larger functions with a lot of counter variables and such. 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.