Scripting

 From:  bemfarmer
7238.56 
Hi Michael,

Is there a simple way to allow the user to chose which mode of a script to run?
For example, one button for mode: unwrap cone,
another button for mode: unwrap frustum?

Another example, one button for "Enter radius points,"
another button for "Enter Mu value".

The Trim command relies on objectpicker to trigger selection of "Add trim points" button.
The Helix command relies on pointpicker to trigger selection of "Flat spiral" button.

I did try a dropdown box, with

code:
		<div id="ModeOptions" class="hiddencommandoptions">
			<table>
				<tr>
					<td>Mode:</td>
					<td>
						<select size = "2" id="Mode" style="width: 155px; height: 50px">
							<option value="radiusSpiral">Enter Radius Points</option>
							<option value="muSpiral">Enter Mu Value</option>
						</select>
					</td>
				</tr>
			</table>
		</div>

Which would need an Update button?
The select size = "2"... shows both options.
There was white space below the two options, which height: 50px removed, but maybe the css would control this?

- Brian