Jump to content

How Can I Converte the geometrical data and attribute of a Block to excel?


Recommended Posts

Posted

Hi all,

I am currently trying to make my AutoCad more powerful as a tool of Engineer but not Draftmen (My boss never thing about it, I could only get a standard AutoCAD, not AutoCAD-EMP).

I want to make it a tool for myself to analysis the building system, with excel (and VBA)

 

The first tool I wanted to create is an underground drainage capacity analysis tool. But I meet the first difficulty, how can I automatically transfer the information inside CAD drawing to the excel?

 

Say, There is a drainage system with 2 manhole and 1 pipe,

the Manhole have 3 attribute : Name, Model, Level, (and the X-Y coordination),

I Create a Block with attribute "Name ; Model ; Level".

and then I insert the Blocks and place it in correct location inside the Layout Plan.

 

Then I have no idea, how can I create some script to "Scan" all Block inside the drawing and make an excel file with data like:

Block-Serial, X-Coor, Y-Coor, Rotated Angle, Name, Model, Level....

 

Could any one give me some idea to start my plan?

Posted

The Attibute extraction tool work like a charm (the DataExtraction ReMark has mentioned may be built up this, but I am using LT and cannot use it). You can export the Attribnute information based on attribute name, as well as block postion. You can then take the exported txt file and import into excel very quickly.

Posted

Opps~!!!!! That Exactly what I am looking for~!!!!!!! Thx a lot~!!!

 

I could then process on writing the excel file to analysis the data~

Attext.jpg

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...