61
General Questions and Answers / saving calcs with device?
« on: January 24, 2012, 22:23 »
It seems that when you set the device calculator object, then save the object, it does not save the calculator .. is this correct?
example:
when i open the "cfg" object later and try to run a calc it says i did not set a calculator ... why?
example:
Code
device_configuration = nlread(outFileName,DeviceConfiguration)[0]
device_configuration.setCalculator(calculator)
device_configuration.update()
nlsave(outFileName, device_configuration, object_id="cfg")
when i open the "cfg" object later and try to run a calc it says i did not set a calculator ... why?