Import Xyz Points Into Autocad Tutorial

Posted on  by 

Import xyz coords from practically any type. Draw a node on every point. And extract all files into a directory located somewhere inside your autocad. You have a list of point coordinates as ASCII text and you wonder how to import the file or coordinates into Autodesk® AutoCAD®. Note: Although it is possible to import and handle point data in AutoCAD, if the goal is to have points with attributes, such as comment, piont number/name, etc., the program Autodesk® AutoCAD® Civil 3D® should. Import a XYZ-coordinate file as AutoCAD points with labels.: With the enhanced version of the free LISP utility ASCPOINT - see www.cadstudio.cz/download - you can import CDF/SDF text files into 2D or 3D points, polylines and block references.

In this tutorial we learn how to import point to the solidworks from text files for further operations. the point may be obtain from the mathematics formulas or CMM devices or data base of coordinate for airfoils or ...

12 Answers

Follow The Procedure Below

Answered with a tutorial: https://grabcad.com/tutorials/tutorial-how-to-import-points-to-solidworks-from-a-text-file--2

Autocad

If you just want to make spline with the points, you can do it without macro!
follow the procedure below:

Answered with a tutorial: https://grabcad.com/tutorials/tutorial-how-to-import-points-to-solidworks-from-a-text-file

As you want to export airfoil coordinates to the SolidWorks hence the coordinate database for airfoils usually come in 2D (in two column only has X & Y) and it's a tedious job to put 0 into the third column, Little changes to above procedure is needed (you can do it using matlab software or excel but I prefer this)

Points

a database for airfoils coordinate comes below:
http://www.ae.illinois.edu/m-selig/ads/coord_database.html#N

Answered with a tutorial: https://grabcad.com/tutorials/tutorial-how-to-import-points-to-solidworks-from-a-text-file--1

Hello. In the SWP file is missing some variable declarations:
Dim Part As Object
Dim X As Double
Dim Y As Double
Dim Z As Double
Thanks

Import Excel Points Into Autocad

Added a dialog to select the file, supports 2 or 3 coordinates automatically, discards not numbers strings, converts decimal mark.
This also fixes a bad behavior of CreatePoint: some points were added with the previous point Y.

Import excel points into autocad

Inserting Points Into Autocad

How to use it:
- download the swp file
- create a new part
- Tools > Macro > Run..
- select the swp file
- now a new dialog appears, look a the title, it is called 'Open points file to import'
- select your point file
- choose if you want to replace the decimal separator (comma to point or point to comma)
- choose if you want the value divided by 1000

Great tutorial! I wish I only wish I had found it sooner.

Thank you for the tutorial!
However, could you explain how you created a surface with those points (step 9)?
Thanks in advance

I've used the Macro on several occasions, however for some reason I'm getting a compiling error on the Set Part line. Can you give me some direction?

Import Excel Data Into Autocad

Thankyou Amin!
Worked perfectly!

Entering Points Into Autocad

I was wondering if it would be possible to connect the points in order they are imported? to draw a line through all the coordinates, I've started doing it by hand but Im hoping there is a simpler way.

Coments are closed