Hello,
Thank you for the additional code. I've tried testing this exact Method in a test environment on my machine, but I wasn't able to reproduce the
Not a single item error that you are seeing. There could be another Server Event on one of these ItemTypes line an
onBefore/onAfterDelete that could also be throwing this error.
Could you try adding a debugger to your Method and stepping through the code to see what line is causing that error? You can do this by following the steps below.
- Add the two lines below to the top of your Method
- `System.Diagnostics.Debugger.Launch();
System.Diagnostics.Debugger.Break();`
- Add the following operating_parameter to your InnovatorServerConfig.xml at the root of your code tree
<operating_parameter key="DebugServerMethod" value="true"/>
- Run the Method as normal
- You should be prompted to open Visual Studio which will allow you to step through the execution of the method line by line
Chris
Christopher Gillis
Aras Labs Software Engineer