Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ParameterIO.bundles/Contents/ParameterIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,11 @@ def updateParameter(design, paramsList, row):
# get the values from the csv file.
try:
nameOfParam = row[0].strip()
nameOfParam = nameOfParam.replace(" ", "") # remove interior spaces
unitOfParam = row[1].strip()
unitOfParam = unitOfParam.replace(" ", "")
expressionOfParam = row[2].strip()
expressionOfParam = expressionOfParam.replace(" ", "");
try:
commentOfParam = row[3].strip()
except:
Expand Down Expand Up @@ -268,4 +271,4 @@ def readParametersFromFile(filePath):
ui.messageBox('Finished reading and updating parameters')
except:
if ui:
ui.messageBox('AddIn Stop Failed:\n{}'.format(traceback.format_exc()))
ui.messageBox('AddIn Stop Failed:\n{}'.format(traceback.format_exc()))