Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh AutoCAD table / External file

Status
Not open for further replies.

Jacc

Automotive
Oct 22, 2002
140
I'm using the Attribute Extraction Wizard both to make AutoCAD tables and external files (although not both at the same time always).

AutoCAD tables are easy to update, you just select the table, right click and select Update Table -> Refresh Only.

But when I want to update the external file I have to go through the entire Attribute Extraction Wizard again. Yes I saved a template to make it easier but it's still a lot of hassle.
And NO, using the rightclick-on-table -> Export... is not an acceptable workaround since the AutoCAD tables are not wanted on the drawings, I only use them temporarily sometimes.

What I want is a one-click (maybe two) update function for external file. You should be able to just choose an Extraction Template and then click OK and be done in 2 clicks. As it is now it takes 10 clicks.

Is anyone familiar with this problem? Is there a better way to do it? Macros are welcome solutions.
 
Replies continue below

Recommended for you

Hi Jacc,

A macro is probably the best option, this could be anything from a menu macro to a full-blown VB/VBA, or AutoLISP application. The easiest is to just experiment a little with AutoLISP right at the command line. I'd do some like
Code:
(defun C:Test()
  (command "<<Command to invoke table export>>" <<arguments>> ...
etc..
)

I usually do this until I've gotten it to do what I need it to do...

HTH
Todd
 
Thanks for your input! I can do some VBA but so far I mostly did that in Excel, not AutoCAD.
When it comes to other programming languages I'm completely lost, I don't even know how to spell AutoLIPS!

If nothing else shows up I'll certainly will give it a try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor