AnsweredAssumed Answered

Releasing Automation Pro license when using MaskEngine?

Question asked by mcrist on May 6, 2019
Latest reply on Jul 26, 2019 by mcrist

I'm working on an addin in C# that acquires a MaskEngine object to compare sizes. The code runs fairly quickly, but it is not releasing the Automation Pro license when it completes. I've tried both setting the object to null as well as something like:

try {



} catch (ArgumentException ex) {



} catch (NullReferenceException ex) {



} finally {

    maskeng = null;



I've seen other posts that use doc.Application.ReleaseLicense(), but the MaskEngine isn't part of the doc object (or doesn't have a type in the EPcbLicenseFeature enum) , and the MaskEngine object doesn't have a ReleaseLicense() method. Is there a way to release the Automation Pro license from one of the Batch Engines such as the MaskEngine?


Message was edited by: Mike Crist to fix highlighting