Exchange Forum > Beta Testing Forum
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity
Page 1 of 2
1 2
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#1

JPS
Join Date:
10-06-2007
ETABLE - Send AutoCAD entity properties to an AutoCAD Table entity.
 
All feedback is welcome.
 
JPS

Attachments  ETABLE.lsp    ETABLE.dcl  
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#2

B Matlock
Join Date:
10-10-2007
I beta tested your Etable function and it returned the following error.
ActiveX Server returned an error: Parameter not optional
I selected "Insert (Block)" and checked "Name" and "Select objects manually". I tried a few other Entity types and it still gives me that error. I am using AutoCAD 2005.
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#3

JPS
Join Date:
10-06-2007
Matlock,
 
Thank you for testing. I'll look into it ASAP.
 
JPS
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#4

JPS
Join Date:
10-06-2007
Matlock,
 
The error happens during the VLA-ADDTABLE statement. I checked the help files and found it exactly matches the information in AutoCAD 2007. It works in AutoCAD 2006 and 2007 but not in 2005. Although, I can't find any differences concerning the vla-addtable statement between the three versions.
 
I've attached an image showing the code in question and a Watch window showing the values of the variables. Does anyone know what the problem is here?
 
JPS



Attachments  ETABLE.jpg  
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#5

B Matlock
Join Date:
10-10-2007
One of the Engineers let me test it on his computer with AutoCAD 2006. It works with the blocks, but crashed when we selected lwpolylines. Thanks for the AutoCAD 2005 info. Now maybe I can convince them that we need to upgrade.
I had one suggestion though. It would be nice if you had it remember the last choices when someone re-runs the program.
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#6

JPS
Join Date:
10-06-2007
I did find and fix an error. Variable TXTSZ was nil unless you selected the "Label Entities" check box. This caused the program to crash and may have been the reason you crashed on LWPOLYLINES. I've attached the latest version.
 
JPS

Attachments  ETABLE.lsp    ETABLE.dcl  
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#7

B Matlock
Join Date:
10-10-2007
I hope that helped with your program. That's all I can beta test on his computer today. Hopefully we'll all be getting an upgrade soon.
Bill
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#8

JPS
Join Date:
10-06-2007
Yes it did! Thank you very much. I just added the ability to save defaults as well.
 
I appreciate your input!
 
JPS

Attachments  ETABLE.lsp    ETABLE.dcl  
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#9

Garth
Join Date:
08-18-2007
JPS,
I am using 2006. Do I need 2007 for your program to run? Sorry I haven't read all the posts here yet. I keep getting the same error message no matter what I select. The message is: AutoCAD variable setting rejected: "useri3" nil. Do I need to set this variable to some certain value before running your program?
ETABLE Send AutoCAD entity properties to an AutoCAD Table entity

#10

JPS
Join Date:
10-06-2007
Garth,
 
Try this and let me know.
 
JPS

Attachments  ETABLE.lsp  
Page 1 of 2
1 2