ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
BABenjamin Abshire10/08/2012

I am trying to use dispatch to stop a transition of a drawing if the returned vault from an external application (vb.net complied as .exe) is negative.

Basically, my application does a bunch of checks before allowing the drawing to be released. If everything checks out, the release proceeds as normal. However, if there is a problem, the transition needs to be canceled.

I fire the action before the state change occurs. I’m using the shell execute command and waiting for the program to close using the Halt execution of the script option.

Does anyone know how I can get a value back or change something on the computer that dispatch could look for before proceeding?