0

Parameter files for use in scripts?

sbriscoe 7.0 anni fà in Resource Estimation aggiornato 7.0 anni fà 2

Hello everyone, I have been using micromine for a few years. So far, I haven't been able to find a way to do something I used to do in Datamine- use a csv file for parameters within a script. For example, you could write a csv file that had search information and then reference that in the Datamine macro so that if you needed to change your estimation you just changed the csv file and not the macro. Any ideas if this is possible in Micromine?

Hi Sbriscoe,


You can try the attached script. It was written quickly to help with a specific project but should give you enough of an idea to modify to your own needs.


init_params.py

Nice, that looks like I can use it to do what I need. I appreciate the help!