CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closed-dataextraction file path error

 Post Reply Post Reply
Author
archdake View Drop Down
Newbie
Newbie


Joined: 19.Apr.2011
Location: Greece
Using: AutoCAD2008
Status: Offline
Points: 13
Direct Link To This Post Topic: -dataextraction file path error
    Posted: 25.Apr.2012 at 09:20

Hello!

I'm trying to make a macro to automate dataextraction. I've gone through the wizzard, saved the .dxe file but when I use the command line version of the command (-dataextraxtion) and it prompts for the template file (.dxe) and I type it (e.g table.dxe) I get an error message:

Invalid name.Enter the template file path for the extraction:

I've saved the .dxe file to a searchable file path. 

If I have done the extraction and created the .dxe file on one drawing, how can I make the dxe template useable with other drawing files as well?



Edited by archdake - 25.Apr.2012 at 09:57
Back to Top
archdake View Drop Down
Newbie
Newbie


Joined: 19.Apr.2011
Location: Greece
Using: AutoCAD2008
Status: Offline
Points: 13
Direct Link To This Post Posted: 27.Apr.2012 at 20:19

Ok, took care of the filepath problem.

My other concern is how can I automate dataextraction so the template I create can be used in any drawing other than the one it was created for, using the -dataextraction version of the command?

Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 27.Apr.2012 at 20:54
Write a script file.  
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
archdake View Drop Down
Newbie
Newbie


Joined: 19.Apr.2011
Location: Greece
Using: AutoCAD2008
Status: Offline
Points: 13
Direct Link To This Post Posted: 28.Apr.2012 at 08:08

The problem I'm facing is that the table inserted with -dataextraction is always the same table that was created when the .dxe template was created during the original dataextraction.

The process works fine when the file I use the macro in is the same file that was used to create the extraction template. The table inserted does reflect any changes to the file. When I use the macro in a different drawing though, the table inserted is just the one created with the template and does not dynamically track the current drawing!

I thought that ticking the "Include current drawing" in the Data source field would make AutoCAD dynamically apply the template to any file  the macro is used in.


Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,079 seconds.