BlackBox Posted September 10, 2010 Posted September 10, 2010 ... Oh yeah, and thanks for the defense, RenderMan. You're welcome. It came instinctively, my friend. Quote
Se7en Posted September 10, 2010 Posted September 10, 2010 RenderMan, I think you may just be taking this far more seriously then need be. No one is angry at anyone (I'm not even angry at Sweety I just thing that (s)he needs to work on their question asking abilities--not a big deal-). Quote
alanjt Posted September 10, 2010 Posted September 10, 2010 No one is angry at anyone (I'm not even angry at Sweety I just thing that (s)he needs to work on their question asking abilities--not a big deal-). x2.......... Quote
BlackBox Posted September 10, 2010 Posted September 10, 2010 You've no reason to apologize to me. ... That is kind of you to say. ...To put it plainly: we cool, don't leave. ... Awww, you'd miss me! I'm not taking my ball and going home, or anything! lol Quote
BlackBox Posted September 10, 2010 Posted September 10, 2010 RenderMan, I think you may just be taking this far more seriously then need be. No one is angry at anyone (I'm not even angry at Sweety I just thing that (s)he needs to work on their question asking abilities--not a big deal-). Agreed. I appreciate your candor. Quote
Sweety Posted September 10, 2010 Author Posted September 10, 2010 I declare my apology to all members that misunderstood me. I haven't been rude at all, in all of my life. All my friends girls and boys are adore me deeply. But with my previous words to alan were due to his short hint about the thread . that made me thought that he is laughting somehow at me or at my knowledge with Lisp. Hope you understand me, and my intermediate level with Lisp as well. Thanks for all The sweetest SWEETY as known in public. Quote
Se7en Posted September 10, 2010 Posted September 10, 2010 Sweety, no one will laugh at your programming abilities because we all started off the same way. Quote
BlackBox Posted September 10, 2010 Posted September 10, 2010 Sweety, no one will laugh at your programming abilities because we all started off the same way. Well said. Quote
Sweety Posted September 10, 2010 Author Posted September 10, 2010 Thanks guys, You made me feel really mistaken with your kind replies . Thanks a lot. Quote
Sweety Posted September 10, 2010 Author Posted September 10, 2010 (vla-delete ss))) Thank you Renderman. That's a very great work. And I do appreciat it a lot. What's the porpose of deleting vla-object (ss) at the end of routine ? Regards, Quote
BlackBox Posted September 10, 2010 Posted September 10, 2010 I recently asked this question myself, this may help clarify: http://forums.augi.com/showthread.php?p=1085465#post1085465 Quote
Lee Mac Posted September 10, 2010 Posted September 10, 2010 What's the porpose[sic] of deleting vla-object (ss) at the end of routine ? Basically because it is good practice when working with VLA Collections. When you create a SelectionSet using ssget it is named as the 'CURRENT' SelectionSet and does not explicitly appear in the SelectionSets collection. (i.e. the count property of the SelectionSets collection is zero). This 'CURRENT' SelectionSet is managed by AutoCAD purged when the variable pointing to it is localised. However, when we retrieve the ActiveSelectionSet property of the Document Object, we reference this CURRENT SelectionSet in the SelectionSets collection, and the SelectionSets count now becomes 1. Subsequent SelectionSets retrieved in this way will not increase this count, as they will only become the ActiveSelectionSet in themselves, and there is no way to point to SelectionSets created through ssget in the VL SelectionSets collection other than the Active one, CURRENT. Hence, since the SelectionSets collection is now registering a count, it is best we delete the SelectionSet from the collection when finished, just as we might purge a layer or block from their respective collections. On another note, we can create SelectionSets by adding them to the SelectionSets collection, and hence manage our SelectionSets manually, rather than letting AutoCAD deal with this management when using ssget. An example of such may be found here. If I've missed anything, feel free to chime in people, I will most happily be corrected. Lee 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.