Line segment aligned to follow the drag direction:

Script
By Swordslayer · Credited author: Vojtech Cada · 2018-11-09
Line segment aligned to follow the drag direction:

Installation: Copy the .ms file to your scripts\startup folder or run as a script if you want to try it out first. The object primitive will be available under Shapes -> Splines dropdown menu in the Create panel.
Tags: line, shape, segment, scripted primitive, aligned
The "Interpolation" parameter in the UI appears strangely
Nik · 2022-08-19

Nik · 2022-08-19
.
Runtime Error in Max 2012
igamaximus · 2019-06-07
Mate, there's error (in attachment) in Max 2012, right after i start the command and click in viewport. Can you please check it? Thank you !
Amazing !! but one request
makco · 2019-04-25
Hi there, this is a great script along with all the others you have shared!
One question though:
Is there a way to include a line of code so after the line is created it gets collapsed to an editable spline? this would be helpful so if a computer access a file that used the script can still see the lines... and if you are sending to a render farm you will not have to manually remember to explode convert the lines to editable splines...
Swordslayer · 2019-05-01
Good idea, I modified it accordingly.
obaida · 2018-11-11
i tried it in max 2014 not working properly!! I cant see the line without selecting sublevel.
Великолепно
Nik · 2018-11-10
!
Perfection in simplicity
igamaximus · 2018-11-09
Mate, your ideas are so amazing. Thank you for each one of your magnificent tools !