Automated Data Extraction - Live folder updates

Automated Data Extraction - Live folder updates

Kieran.ODonnellP4HWV
Participant Participant
547 Views
4 Replies
Message 1 of 5

Automated Data Extraction - Live folder updates

Kieran.ODonnellP4HWV
Participant
Participant

Hi All,

 

I am currently trying to setup a windows scheduler task to automate data extraction from a specific folder. I have setup the extraction template as shown below.

 

KieranODonnellP4HWV_0-1687408626372.png

 

When I run the extraction wizard manually it automatically updates the drawings living in the folder. When I try to run extraction using autoLISP for some reason it will not add any new drawings it will only remove ones that I have deleted from the folder. 

 

Hoping someone can help me make this connection live even when running via autoLISP. Below is my current autoLISP function:

 

(defun c:EXTRACTION ()
(command "-DATAEXTRACTION" G:\CB_Space_Planning\AutoCAD\2_Macro Database\4_Extraction\DatabaseTemplate.dxe "y")
(princ)
)

 

Thank you in advance,

 

Kieran

 

 

0 Likes
Accepted solutions (2)
548 Views
4 Replies
Replies (4)
Message 2 of 5

vladimir_michl
Advisor
Advisor
Accepted solution

Cannot be done IMHO. You can vote here to add (in fact remove) the file list feature in the DataExtraction wizard (and the .DXE file):

https://forums.autodesk.com/t5/autocad-map-3d-ideas/data-extraction-blind/idi-p/11723739

 

Vladimir Michl, www.arkance-systems.cz  -  www.cadforum.cz

 

Message 3 of 5

paullimapa
Mentor
Mentor
Accepted solution

Been on my wishlist item for quite sometime now but the only way to properly establish the data link is by running the Dataextraction command at least once in the drawing otherwise no connection is made when run via lisp


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 4 of 5

Kieran.ODonnellP4HWV
Participant
Participant

Thank you both!

 

Saves me wasting anymore time on trying to solve!

0 Likes
Message 5 of 5

Mike_Y2
Advocate
Advocate

I use a lisp to run a script (.scr) that runs the -dataextraction command.

 

NOTE... My data extraction file (.dxe) is setup to extract data for pre-set .dwg filenames not a folder of .dwg's.

 

I don't know if running a folder of .dwg's via a script would work / be a work around?  

0 Likes