×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Excel data to AutoCAD

Excel data to AutoCAD

Excel data to AutoCAD

(OP)
I am looking to produce profiles, cross sections etc in AutoCAD by inserting a line of commands from an excel spreadsheet.  How exactly is it done?  

RE: Excel data to AutoCAD

Are you inserting lines of commands from the Excel spreadsheet to the command line of AutoCad?  In other words are you wanting to insert command lines that will then be executed?  I do not understand.

RE: Excel data to AutoCAD

This works for Microstation.  Notice that Microstation is called "ustn".  You'll need Windows' internal name for Autocadd but this demonstrates the link:

Sub Export2Microstation()
   Dim channel As Long
   
   With Selection
      FRow = .Row
      RowCt = .Rows.Count
      LRow = FRow + RowCt - 1
      FCol = .Column
      ColCt = .Columns.Count
      LCol = FCol + ColCt - 1
   End With
   
   task = "PLACE LINE" 'command entry in Microstation
                       'replace as needed
 
       ' keyin is a command to Microstation to use the command entry box.

   channel = Application.DDEInitiate("ustn", "keyin")
   
   Application.DDEExecute channel, task
   For z = FRow To LRow
      Range(Cells(z, FCol), Cells(z, FCol + 1)).Select
      If Len(Cells(z, FCol)) = 0 Then
         Application.DDEExecute channel, tast
      Else
         Application.DDEExecute channel, "XY= " & Cells(z, FCol) _
             & "," & Cells(z, FCol + 1)
      End If
   Next
   
   Application.DDETerminate channel
   Range(Cells(FRow, FCol), Cells(LRow, FCol + 1)).Select
 

End Sub

RE: Excel data to AutoCAD

can we code something like this up for autocad

RE: Excel data to AutoCAD

http://myhome.hanafos.com/~xout/Excel/Excel_Funtion_list.htm

Visit above site then u can find out what u want.
That is what exactly u want !

It is written in Korean !So I just wish there is Korean friends near u ~

That public free software can only be operated in ACAD 2000
It is written in LISP !

RE: Excel data to AutoCAD

lol how hard is it to read another language? other than english lol...

Do you think this is a shareware or freeware?

Has anyone had any luck with program?

does it link up dynamically?

RE: Excel data to AutoCAD

If you have full commands in Excel cells you can just copy and paste into Autocad and they will run. You must click on the command line in Autocad or else you will paste the Excel cells into the drawing.
At least this works with Quattro Pro, but I assume its the same.
Oh and it goes row by row if you paste in a 2d range.

RE: Excel data to AutoCAD

Please see thread 555-51546 in Tips for AUTOCAD

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close