Testing IsProductLaunchedInYourEnvironment
This function should be tested first. If the
Ansys Electromagnetics application is not able to load and run this function,
or if it returns false
, then none of the other functions will be called.
If the batch analysis is running in a scheduler environment, and this
function returns true
, then there will be an "info" message near the
beginning of the batch log indicating that the analysis is running as
a scheduler job. This message will include the scheduler display name
returned by the function GetSchedulerDisplayName
, and it will also include
the job ID returned by the function GetThisJobID
. If the batch analysis
is not running in a scheduler environment, then none of the messages
will include a scheduler display name or job ID.
If this message does not appear when running in a scheduler environment, ensure that the scheduler proxy library is named correctly, that it is built correctly, that it is installed in the correct directory, and that the function name prefix is the same is the library prefix converted to upper case.