Construction line script

 From:  Dymaxion
1029.18 In reply to 1029.17 
Current beta. I was trying to link to the command as "ConstructionLines.js"

Here's a slightly cleaned up version of the code script, with instructions for adding it to a conveniently empty slot in the "Edit" tab.

It'd be nice to have a "Done" button for the script, instead of the "click on the viewport" bit, which is a bit too easy to trigger accidentally. I know this is kind of abusing a line factory to make things work; is it possible to create that behavior?


EDIT (7/11/2015): The attached instructions are for v2 - for MoI v3 the way icons are set up on buttons is slightly different and so for setting up the button in v3 put in this instead:
code:
<td><moi:CommandButton icon="icons/CLIcon.png" command="ConstructionLine">CLine</moi:CommandButton></td>

EDITED: 11 Jul 2015 by MICHAEL GIBSON

Attachments: