Hi all,
I have been trying to access NSC Object type using "NumberOfObjects" and "NumberOfDetectors" commands.
Here is the code in Matlab:
OBnumber = TheSystem.NCE.NumberOfObjects;
DEnumber = TheSystem.NCE.NumberOfDetectors;
However ,OBnumber returns the exact number of objects in the system, while DEnumber could not be identified.
After looking up from the manual, I found that the command "NumberOfDetectors" is legend from "ZOSAPI.Wizards.INSCWizard" , yet I am not able to find a demonstration to learn to code correctively.