Runtime error

Hi all,

I am running a feature that iterates though all the solid bodies ofa part, selects some faces and creates several sketches using theconvert entities command. After running for a while i get the sameerror at the same face saying the following:


System.AccessViolationException: Attempted to read or writeprotected memory. This is often an indication that other memory iscorrupt.

Does anyone know what this means exactly?

Cheers,

--Stav.
SolidworksApi macros
Comments 1
SF
SF 2008-10-17
Usually using an in-process command in an out of contextapplication so it violates cross-process security on an objectpointer address