Maybe this makes sense:Code - Auto/Visual Lisp: [Select]
;; This returns an entity list 'vdm' ;; tblobjname needs a string like you have above '"MASTER_RM"' ?
You could also put those points and names into a list and make your views like so rather than settings all those variables.Code - Auto/Visual Lisp: [Select]
("MASTER_RM" (0.0 25.0) (0.0 47.0)) ("INSTALL_1" (37.0 0.0) (71.0 22.0)) ("INSTALL_1RM" (37.0 25.0) (71.0 47.0)) ("INSTALL_2" (74.0 0.0) (108.0 22.0)) ("INSTALL_2RM" (74.0 25.0) (108.0 47.0)) ("INSTALL_3" (111.0 0.0) (145.0 22.0)) ("INSTALL_3RM" (145.0 47.0)) ) )
I was hoping lunch would make me smarter. All it did was make me sleepy and still dumb.HAHA .. what are you still struggling with?
Hmmph...Something to do with how I was using VLide. I hadn't actually run the routine in AutoCAD by drag and drop. I was loading from Vlide and it would act like it worked but not acutally do anything.Glad to help :). Anytime you're setting that many variables most likely a list is a cleaner approach.
I also never tried just the foreach method...by itself.
Thanks.