PDA

View Full Version : Data Interrogation routine


Avatart
2006-11-10, 04:37 PM
Here is a routine that I have written to interrogate a drawing for certain data, with some filters, that will produce a number of operations on the data you ask it to select.

It can extract the 3D co-ordinate data and save it to a .csv file, it can create text, including positional data, at the insertion points of the selection set and it can insert blocks on the insertion points too.

I promised some time ago that I would post up this routine when I had finished it, but I have forgotten which thread it was in, so here is a new thread! I have got it to the testing stage now, so here it is, as far as I can tell working properly.

Please feel free to use all or part of this code and if you find any errors, please let me know, so I can update. Or you could update it and post it back here.

I hope this will be of use to someone.

fixo
2006-11-10, 08:56 PM
Keep in fear
I have uploaded your routine in my "HardTest" folder
Stay waiting for resullts :)

>'J'<

CAB2k
2006-11-11, 04:43 PM
Got an error here.
Command: odgrabber
Undo Enter the number of operations to undo or
[Auto/Control/BEgin/End/Mark/Back] <1>: Be
Command:
< bad SSGET list value >

Avatart
2006-11-13, 09:43 AM
Keep in fear
I have uploaded your routine in my "HardTest" folder
Stay waiting for resullts :)

>'J'<The harder the test, the better. ;)

Avatart
2006-11-13, 09:45 AM
Got an error here.
Command: odgrabber
Undo Enter the number of operations to undo or
[Auto/Control/BEgin/End/Mark/Back] <1>: Be
Command:
< bad SSGET list value >Is this a consistent problem, or are there specific circumstances under which you get this result?

Also, it was written for ACAD2006, are you running 2007? I have not tested it in 2007 at all.

Thanks for the feedback,

Carl

CAB2k
2006-11-13, 01:46 PM
Running 2000, I'll it try in 2004 & 2006.