Data Extraction Script

Data Extraction Script

Anonymous
Not applicable
1,715 Views
6 Replies
Message 1 of 7

Data Extraction Script

Anonymous
Not applicable

Is there a way to script the data extraction function? I find myself having to extract the same information, multiple times, into a table and having to click through the same options is a little tedious. I tried using -dataextraction to make a simple command line lsp but that's a no go. I found a script that allows extraction of points a long a line into a table and I have tried tweaking that script but it's above my skill level. Any help would be appreciated.

0 Likes
1,716 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable

Hi HaleOED,

 

Can you give some examples of drawings and extracted data?

 

dicra

0 Likes
Message 3 of 7

Anonymous
Not applicable

Sure. The drawings have attribute blocks in them and I need the x, y position co-ordinates along with the name in the table. The blocks themselves are named 'SYM-001' and are labelled like this 'A001' etc 

 

The table would need to have a table header, then 3 columns underneath 'Ref.' 'X''Y'. The Data format for the X, Y co-ords needs to be in decimal format with a precision of 0.000 and a conversion factor of 0.001. Hope that is enough information.

0 Likes
Message 4 of 7

Anonymous
Not applicable
Still struggling with this, any suggestions or just pointing in the right direction would be greatly appreciated.
0 Likes
Message 5 of 7

gdefilo
Advocate
Advocate

Hi HaleOED,

 

have you tried the Dataextraction command with the option on multiple files?

 

Don't know which software you use, but in Acad2013 is possible to choose the source of the data to extract: you can specify the current drawing, or a whole directory and subdirectories, or a selection of files.

 

May this help?

 

Giancarlo

 

 

 

0 Likes
Message 6 of 7

ВeekeeCZ
Consultant
Consultant
Are you able to do that with a template?
0 Likes
Message 7 of 7

gdefilo
Advocate
Advocate

The template should be a .dxe file, where you save the settings of the extraction.

The .dxe file stores also the information about the files to extract the information from.

 

Saving that .dxe file, you will be able to recall it at a later moment, repeating the extraction of the same data on the same .dwg files.

Or, if you prefer, change the .dwg files you want to extract data from.

 

Hope this helps.

 

Giancarlo

 

0 Likes