Skip to main content
Inspiring
January 12, 2011
Question

How to replace a line segment?

  • January 12, 2011
  • 1 reply
  • 689 views

Here's what I want to do:

Take the selected line segment, and replace it with a series of line segments, scaled to the length of the line.

I'm not quite sure how to go about this.  I don't see any line object relating to a path item.  All I see are anchors.  I know I can access the two anchors of the line segment that's selected, but to begin with, how to I delete the line connecting the anchors?

This topic has been closed for replies.

1 reply

Muppet_Mark-QAl63s
Inspiring
January 12, 2011

Can you post a screen grab Im having difficulty understanding what it is you want?

jsavage77Author
Inspiring
January 12, 2011

Here's an image to help illustrate.  The object on the left has a line segment selected.  The script runs and removes the segment, then replaces it with the door path, scaled up to the correct width to fit:

Inspiring
January 22, 2011