prompt user to select a TXT file
in
Programming Questions
•
1 year ago
When first running my Processing script, I would like the user to be prompted to select a TXT file. Does anyone know how to do this? The TXT file contains topology data for constructing some 3d geometry. At the moment, you have to place the TXT file in the 'data' folder and then point the related variable within the script to the specific TXT file. I would like to skip the step of having to write the name of the text file within the script - and just have it automatically set by being selected by the user when the script is first run.
thanks in advance!
1