Jump to content

Recommended Posts

Posted

Hi every one, good day to all,

 

I have a very interesting concept to do in autocad with lisp.

 

To automate the creation of multiple concrete profiles based on existing profile points (lines, polylines, curves, or ellipses) and extend these profiles further using predefined data (e.g., in an Excel or CSV file). This process will reduce manual effort and save significant time.

 

My series of operation to achieve this by using the excel/.csv file,

Steps are,

1. Get the existing profiles point locations (End points of polylines, line. Radius of curve, ellipse) for example 5 profiles, by that we can get changes as series.

Step 1: Extract Existing Profile Points - Identify key points (endpoints of polylines or lines, radius points of curves, center points of ellipses, etc.) from the existing profiles in AutoCAD.

These points are the foundation for generating the additional profiles. Export these point data (coordinates: X, Y, Z if needed) into a CSV file or Excel sheet for further processing.

 

Step 2: Generate New Profile Data in Excel - Use the exported data from Step 1 to calculate or define new profiles. For example, if there are 5 existing profiles, Excel can create the data for 50 or more additional profiles using with how the series. Each new profile will have its unique point locations defined as individual profiles.

 

Step 3: Automate Profile Creation in AutoCAD -  covert those as lines, curves with LISP routine to: Read the new profile data from the CSV/Excel file. Iterate through the data to create polylines, lines, arcs, or other entities that represent the new profiles. Ensure the new profiles are drawn incrementally (e.g., Profile 1, Profile 2, and so on) and are clearly labeled or grouped.

 

I think it bit complicated, Thanks in advance every one 😁😁🙌

 

I have attached the example dwg file. Profile Example.dwg

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