TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

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


Seeking a Ruby Exampls
Read 2053 times
* October 17, 2013, 04:41:19 PM
I need to read a file containing X,Y,Z coordinates in feet. (let me keep this simple) Then I need to draw a plain, black line in layer 0 from (X, Y, Z) to (X, Y + 2, Z) for each one.

If I could get an example of how to draw a single line, I could probably add the code to read the file and loop through it.

Logged