Regular API function

simResetMilling

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 simApplyMilling, simHandleMill and simResetMill.
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=simResetMilling(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page