News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Importing data points from a text or spreadsheet file

Started by tgholford, May 03, 2013, 11:22:04 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

tgholford

Is there a way import 3D point locations from a text file or an Excel worksheet.

I have learned that I can save workplane definitions to a .wbs file which can be edited with WordPad. And presumably reverse the process and import the workplane definitions.

I would like to create a geometry in Excel and then import the point specifications into a TurboCAD drawing.

TurboCAD seems to support "Extract from" other files, but the other files all seem to be drawing files.

I just want to import some data points in 3D space.

Can this be done?

John R

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

tgholford

Quote from: John R on May 04, 2013, 09:42:38 AM
See the topic : XYZ Import, Ruby Scripts.

Apparently, I'm not permitted to know this information:

"The topic or board you are looking for appears to be either missing or off limits to you."

Don Cheke

Quote from: tgholford on May 04, 2013, 11:01:03 AM
Quote from: John R on May 04, 2013, 09:42:38 AM
See the topic : XYZ Import, Ruby Scripts.

Apparently, I'm not permitted to know this information:

"The topic or board you are looking for appears to be either missing or off limits to you."

That is correct. I just checked and it is part of the Beta discussions discussing issues.
Don Cheke
My Blog: One Man's Meanderings

murray dickinson

If you've Platinum, architecture|terrain has a facility to import x,y,z.  The points are features on a surface, not in their own right.

John R

re: …"The topic or board you are looking for appears to be either missing or off limits to you."

Oops! Sorry about that.

I believe you mentioned that you're using V20 Deluxe. ???  I think you're out of luck. In the Pro editions (which has Ruby), there is a file "TC20_ImportXYZPoints.rb" that I believe handles what you want. The only thing that Deluxe has is the 3D Mesh tool.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Marek

Hi
You can view topic http://forums.turbocad.com/index.php/topic,218.0.html. There are external scripts in VB. Maybe it will work with TCDeluxe 20 The data format must be in specified order. As the decimal separator you have to use a comma, and between x, y, z can be only one space. After that, no other characters. You can organize your data use free Notepad + +.
Marek
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

DTTurbocad

Sorry just catching wind of this thread now.   That script is included in the shipping Pro product accessible from the Ruby console...just click the "Load" button.