Naming Construction Lines

 From:  Michael Gibson
8389.2 In reply to 8389.1 
Hi Scott, how about setting up this script on a shortcut key:

script: /* Set name of last created construction line */ var dlg = moi.ui.createDialog('EditNameDialog.htm?title=Choose name'); var name = dlg.window.doModal(); if ( name != -1 ) { var clines = moi.geometryDatabase.getObjects().getConstructionLines(); if ( clines.length > 0 ) clines.item(clines.length-1).name = name; }

If you trigger that after creating a construction line that should set its name.

- Michael