MCDProcess#
- class MCDProcess#
Launches and keeps track of a ModelCenter Desktop process.
Overview#
Start the ModelCenter Desktop process. |
|
Get the process ID of the ModelCenter Desktop process. |
Import detail#
from ansys.modelcenter.workflow.grpc_modelcenter.mcd_process import MCDProcess
Method detail#
- MCDProcess.start(run_only: bool = False, heartbeat_interval: numpy.uint = 30000, allowed_heartbeat_misses: numpy.uint = 3) int #
Start the ModelCenter Desktop process.
- Parameters:
- run_onlybool,
optional
Whether to start ModelCenter in run-only mode. The default is
False
.- heartbeat_interval
numpy.uint
,optional
Interval between heartbeat messages. The default is
30000
.- allowed_heartbeat_misses
numpy.uint
,optional
Number of allowed missed heartbeats before the server terminates. The default is
3
.
- run_onlybool,
- Returns:
int
Port number that the gRPC server was started on.