Jump to content

Recommended Posts

Posted

Hi

 

I am trying to improve workflow for our drafters in the office. One of the most time consuming problem is creating the drawing register. I have been looking into stream lining this process. All the information we require to include on our drawing register is held in attribute fields in standard title block all our drawings use. I can export the attribute information using the attribute extraction tool within cad and then open up the resulting file in Excel to use the data extracted.

 

My problem comes when our drawing file contains numerous drawing tabs (pretty much every project we do). I have to run the attribute extraction tool for each drawing tab to extract the required data. Is there any way of running a script or batch file that would automate this process? I have some VB knowledge if basic coding is required although I have never looked at lisp if they are required. We are running AutoCad 2012lt so not sure if a lisp would run anyway.

Posted

Thanks for the reply will have a play with this over the next few days and let you know how i get on.

Posted

If you have 2012 LT then may not be possible to write macro, try writing down each step with attribute extraction then do a line by line script or a macro with each bit seperated by a single space, re lisp not a problem to go to each layout tab and pull out info, happy to provide examples.

Posted

If I use ATTEXT for extracting data (LT) then using 'all' to select objects instead of other selection methods, will also extract any block attributes in all the paperspace layouts of the drawing, without having to go to each layout individually.

Posted
If I ATTEXT for extracting data (LT) then using 'all' to select objects instead of other selection methods, will also extract any block attributes in all the paperspace layouts of the drawing, without having to go to each layout individually.

 

Thanks this works a treat. Didnt realise the all command select the blocks on all tabs. Thought it only selected all blocks on the current paperspace or model space. Only thing I need to sort now is to write a small macro to remove the single quotation marks that surrounds all the individual attribrutes when brought into excel. This is going to save hours of tine.

Posted

That should be a setting in the import text wizard in excel, second or third screen gives you the option to remove single or double quotes.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...