TextBox_DoubleUnit
TextBox_DoubleUnit
Description
A text field containing a double value that will automatically handle the unit conversion based on the BobCAD software unit
Keys
- Value – Default double value when dialog is launched, also the key for the value in returned result table
Return
["ControlID"]["Value"] - key value of the return table from the dialog which contains the contents of the text box.
Example
data = { ControlID="StartAngle", ControlType="TextBox_DoubleUnit", Value=1.0*25.4 }
The return data can be accessed from (assuming the dialog return variable is named retTable ):
retTable["StartAngle"]["Value"] = the data entered by the user