Regular API function

simResetMilling / sim.resetMilling

Description Resets a cuttable object (e.g. a shape) to its initial shape (before it was milled), thus cancelling milling changes. The calculation structure linked to the object is removed and an updated calculation structure might be calculated (might take some calculation time). See also sim.applyMilling, sim.handleMill and sim.resetMill.
C synopsis simInt simResetMilling(simInt objectHandle)
C parameters
objectHandle: handle of the cut object or sim_handle_all to reset all cut objects.
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=sim.resetMilling(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page