Creating reasonable 1-D shapes from xy point data

G

Guy..L

When I use the Visio spline tool to draw a spline, a 1-D shape appears on the
drawing surface corresponding (roughly) to the mouse path. I can change the
behaviour to 2-D and see the other type of handles. Then, I can return to
1-D and the 1-D handles return where they were before. It's easy and
intuitive to flip back and forth between 1-D and 2-D.

Now, using automation and the ActiveX drawing surface in a C# app, I read in
a series of xy points from a file and draw a polyline shape. Because there's
an upper limit on DrawPolyline, I have to do a Combine on shapes drawn from
files with more than 8122 (or so) values. These large cases create a 2-D
shape (due to the Combine).

I would like the same intuitive behaviour for polylines read in from a file
as those in the first paragraph. However, I've written code to put the
BeginXY and EndXY at the first and last XY points and find that I cannot flip
back and forth from 1-D to 2-D and back without losing the original BeginXY
and EndXY.

Q1. Is there a way to draw polylines and have their 1-D and 2-D
interactions behave like hand drawn shapes?

Q2. The polylines in the geometry section(s) of the automatically drawn
shapes are marked as proportional to shape width... How can I have them
created on the shapesheet using local coordinates instead?

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top