Jump to content

AutoCAD VBA Project


Eman Al Badawi

Recommended Posts

Hi I am a student trying to make some steps in my project according to

what I saw in some YouTube videos that programmer can control the

Layers properties to count the total length (Line & Polyline) of it

and export the result in MS Excel.

 

Anyone can help me in how to build this code, please?

 

Thanks in advance

Link to comment
Share on other sites

You can get total length of Line & polyline from autolisp (you can search this code on google).

then export this data with csv file you can use below code with vl-write I think.. this should work

 

 

(setq excel (getfiled "Select Drawing File" "" "csv" 1))

Link to comment
Share on other sites

Thank you Mr. Solitechcadsolutions & Mr. BIGAL

It seems all about AutoLISP, so I need to read about it to understand the codes because I have no idea yet

Link to comment
Share on other sites

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