DeltaCad User's Group Forums
Macro to plot multiple X and Y coordinates? - Printable Version

+- DeltaCad User's Group Forums (http://www.deltacadusersgroup.org/Forums)
+-- Forum: Main Forums (http://www.deltacadusersgroup.org/Forums/forumdisplay.php?fid=4)
+--- Forum: Request for Drawings, Symbols, Macros (http://www.deltacadusersgroup.org/Forums/forumdisplay.php?fid=7)
+--- Thread: Macro to plot multiple X and Y coordinates? (/showthread.php?tid=254)

Pages: 1 2


RE: Macro to plot multiple X and Y coordinates? - sbucher - 07-12-2010

I downloaded it and tried it out. works great!! thanks


RE: Macro to plot multiple X and Y coordinates? - Admin 1 - 07-13-2010

Hey "SBUCHER",

"CLYDESDALE" has come though once again and improved on the originanal file offering by adding the ability for it to read 'standard' (single line) x,y coordinates! Big Grin

Here's what he said...
Quote:Hello, Boss:
After staring a bit more at the point-plotter code and the macro language
reference, I decided to try to build a do-it-yourself "parse" command to
handle the more conventional (xcoord,ycoord) input file format. I was
eventually successful, so maybe "Version 2" will be more useful to SBUCHER.

I'm sorry that I've made additional work for you, and I hope it doesn't add
too much confusion overall.

Sincerely, CLYDESDALE

The new version, "Multi-Point Plotter2", is now available for download along with additional data samples and updated instructions on the 'shared file card', which is next to the original first version.

Personally, I can't thank "CLYDESDALE" enough for taking the time to fill this request. I think an award nomination is in order, eh?

OHHH....! AND a higher star rating for this thread may be in order too. I've applied my one allotted star rating vote already, so it's up to the rest of you to "boost it up", if you think it deserves boosting, that is. (Yes, Even as admin, I can't 'force' a thread rating up or down. I only have one vote just like everyone else. Tongue


RE: Macro to plot multiple X and Y coordinates? - AlwMVMO - 05-06-2014

The DeltaCad Macro system does allow input from a comma delimited data

2.31, 5.2 (new line)
10.1, 8.6 (new line)

with
Code:
Input #1, cx, cy

and if you put these 2 lines after the dcCreatePoint line
in the' Multi-Point Plotter.bas' Macro
it will create a line entity between each point
Code:
If S=1 then dcCreateLine  cx, cy, Xb, Yb
     Xb=cx: Yb=cy :S=1