# Modify Line length to set length?

**URL:** <https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625>\
**Category:** Rhino for Windows\
**Created:** [July 24, 2019, 10:28pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625 "2019-07-24T22:28:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RIL](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ril/32/768639_2.png) [@RIL](https://discourse.mcneel.com/u/RIL)\
**Post date:** [July 24, 2019, 10:28pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625/1 "2019-07-24T22:28:28Z")

</div>

Is it possible to modify an existing line to a set length?

Using Extend I can only pick a length or “add” a distance to a line, but not specify the final set length.

Any other trick to modify a Line length?

// Rolf

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [July 24, 2019, 10:49pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625/2 "2019-07-24T22:49:37Z")

</div>

Hi Rolf - the ‘by hand’ way is to `Scale1d`:

Select the line, `Scale1D`, snap to one end, snap to the other, and then type in the desired length and Enter.

-Pascal

---

<div class="post-metadata">

**Author:** ![DiegoKrause](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/diegokrause/32/257432_2.png) [@DiegoKrause](https://discourse.mcneel.com/u/DiegoKrause)\
**Post date:** [July 24, 2019, 10:54pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625/3 "2019-07-24T22:54:31Z")

</div>

other way could be using Divide if the final lenght is shorter. and extend it first if is larger.

---

<div class="post-metadata">

**Author:** ![RIL](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ril/32/768639_2.png) [@RIL](https://discourse.mcneel.com/u/RIL)\
**Post date:** [July 24, 2019, 10:56pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625/4 "2019-07-24T22:56:05Z")

</div>

> [@pascal](#):
>
> the ‘by hand’ way is to `Scale1d` :

Not so intuitive, but it worx!

Thanks.

// Rolf

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [July 24, 2019, 10:59pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625/5 "2019-07-24T22:59:53Z")

</div>

Hi Rolf - you can also try this thing if you are feeling adventurous - it has a bunch of related commands:

SetCurveLength  
SetArcDegrees  
SetArcRadians  
SubCrvFromMid  
3PtArcFromPoints  
3PtArcFromPolyline  
ArcFitToCurve  
ArcFitToPoints  
ArcFitToPolyline  
RadiusFrom3Pts

[CurveAndArcUtilities.rhp](https://discourse.mcneel.com/uploads/short-url/tgZW6QTex36My0r6VH3GEOoAOIc.rhp) (52 KB)

You’ll need to un-block the plug-in from Windows before drag and drop onto Rhino.

-Pascal

---

<div class="post-metadata">

**Author:** ![RIL](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ril/32/768639_2.png) [@RIL](https://discourse.mcneel.com/u/RIL)\
**Post date:** [July 24, 2019, 11:04pm UTC](https://discourse.mcneel.com/t/modify-line-length-to-set-length/86625/6 "2019-07-24T23:04:46Z")

</div>

> [@pascal](#):
>
> if you are feeling adventurous

I always feel that way…

Cool, SetCurveLength is right on! Good stuff.

// Rolf
