def getMeasure(measureTool, controlCount): if measureTool != "None": measureControl = measureControlScript() measuring = measuringScript() measure = measureScript() if measureTool == "Imperial": measureUnit = measureUnitFeetScript() else: measureUnit = measureUnitMetricScript() measureStyle = measureStyleScript(controlCount) controlCount = controlCount + 1 else: measureControl = "" measuring = "" measure = "" measureUnit = "" measureStyle = "" return (measureControl, measuring, measure, measureUnit, measureStyle, controlCount)
def getMeasure(measureTool, controlCount): if measureTool != "None": measureControl = measureControlScript() measuring = measuringScript() measure = measureScript() if measureTool == "Imperial": measureUnit = measureUnitFeetScript() else: measureUnit = measureUnitMetricScript() measureStyle = measureStyleScript(controlCount) controlCount = controlCount + 1 else: measureControl = "" measuring = "" measure = "" measureUnit = "" measureStyle = "" return (measureControl, measuring, measure, measureUnit, measureStyle, controlCount)