Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Going through a for loop and wanting to pause for user input.
for plate in range(1, len(plates)):
tablePlate = inputs.addStringValueInput('tablePlate', '', plates[plate])
tablePlate.isReadOnly = True
table.addCommandInput(tablePlate, plate + 1, 0, 0, 0)
tableInput = inputs.addStringValueInput('partNum', 'Part Number', '')
table.addCommandInput(tableInput, plate + 1, 2, 0, 0)
tableInput = inputs.addStringValueInput('partName', 'Part Name', '')
table.addCommandInput(tableInput, plate + 1, 3, 0, 0)
waitBox = input("Fill in the " + tablePlate.value + " info, then press ENTER")
When I get to the end I get this error message.
tablePlate.value is string.
Brad Bylls
Solved! Go to Solution.