Take a look at the IntersectWith method, then modify the startpoint and
endpoint of your line to suit.
-Josh
dgleason wrote:
> Thank you.. I got it. Some times when I have obj's defined for ACAD obj
> items the auto complete doesn't show what to put. (This is what was
> happening with the scaling) I just kept doing it until it worked, then I
> saw your reply.
> so thanks.
>
> Do you know how to trim the ends of a line that is between two closed
> boundaries... (Picture a circle and then concentric circle inside the
> first. Suppose the larger circle is hatched, and then the hatch is
> exploded into polys.) How can I trim the edges of the polys that are
> outside of the smaller circle, but inside of the larger circle. I want
> to do this using some kind of cool vb / autocad... method. I am doing it
> know using the scaling, but it really only works for rectangle of closed
> polys with sharp edges not anything with a curve. I have played a little
> with sending trim commands to the command line, but I really don't like
> that so much???...
> Thanks
> Dave
>