×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-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!

*Tek-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

importing x,y coordinates to create a shape

importing x,y coordinates to create a shape

importing x,y coordinates to create a shape

(OP)
How can I create a shape using a series of x,y coordinates in CorelDraw ?
I have 3 curves with about 150 coordinates each. The coordinated were generated from an Excel spreadsheet and I am able to create a text file with all the x,y values.
In Autocad, I can use a script to import the data (line command), but is it possible to do something similar in Draw ?

RE: importing x,y coordinates to create a shape

Corel has a scripting language too, and its probably possible but I suspect not easy.

In the past I've done something similar using foxpro to create a postscript file which at its simplest looks something like:

%!PS
50 50 moveto
100 100 lineto
120 150 lineto
closepath
fill
showpage
%End

You can then bring that into Corel using the "Postscript Interpreted" import filter.

Instead of foxpro, you can use any other language you're familiar with that can read the excel file and write to a text file which should be created with a .ps extension.

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 Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

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

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

Close Box

Join Tek-Tips® Today!

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

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close