Adding Fits
Adding a fit (without adding data) is done by adding a Fit object to the list of fits attributed to a Material object.
Load the material instance (from the corresponding
.pklfile) using the following code.Create a new
Fitobject.Append the new
Fitobject to the list of fits attributed to theMaterialobject.Save the updated
Materialobject back to the.pklfile.