If during a specimen holder exchange no holder is selected (yet), querying Stage.Holder returns a COMError 0x8004ffff. This is most likely an undocumented behaviour of the TEM scripting interface. Nevertheless, temscript should try to handle this case gracefully, e.g. return None or add an special value for this in the holder enumeration.
If during a specimen holder exchange no holder is selected (yet), querying Stage.Holder returns a COMError 0x8004ffff. This is most likely an undocumented behaviour of the TEM scripting interface. Nevertheless, temscript should try to handle this case gracefully, e.g. return None or add an special value for this in the holder enumeration.