The input from these forms is passed to Tcl/Tk scripts, which can run Minex tasks for specific jobs. By convention, Tcl scripts are stored in the Script_Files folder of organized projects. Any object(s) that are in the current graphics window will start rotating. If the User Scripts folder has been specified and the macro resides in this folder, then the macro can be activated by clicking on the corresponding icon in the toolbar. When the Macro Playback icon is clicked , Minex asks for the name of the macro to be played. Another way to select the macro is to right-click the name in the Explorer window and select playback, as shown here. When a Tk macro runs in Minex, it locks the user interface.To learn more about Minex tasks, try recording a task and replaying it. Until the Tk window is closed, Minex remains inactive. S) row.append(button) self.ground_data_buttons.append(row) for r in self.ground_data_buttons: for b in r: b.set_command(lambda: b.update_value(self.ground_data_values[self.values_list_box.get(tk.
It's ridiculous to not use a loop for this, to create all of the buttons manually. EDIT: The problem persists even if I try with for c in range(self.track_size): row =  for r in range(self.track_size): button_text = tk. Button( self.ground_data_frame, textvariable=button_text ) button.grid(row=r, column=c, sticky=tk. The “Updating a Geological Model” macro discussed in this post can be configured to suit your requirements.Some key features of this macro are: Ranajit is a qualified Mining Engineer with over 22 years of experience in mine planning, consulting, operations, logistics, exploration and feasibility studies.The recorded macro can be edited using any text editor.
Add other Tcl commands to repeat tasks, or make it intelligent to further decide based on your inputs.
It completely ignores the commands of all the previous buttons.