STKEngineApplication#
- class ansys.stk.core.stkengine.STKEngineApplication#
STKXApplication
Interact with STK Engine.
Use STKEngine.StartApplication() to obtain an initialized STKEngineApplication object.
Overview#
Create a new object model root for the STK Engine application. |
|
Create a new object model context for the STK Engine application. |
|
Grpc is not available with STK Engine. Provided for parity with STK Runtime and Desktop. Available options include: { โraise exceptions with STK Engineโ : bool }. Set to false to suppress exceptions when using SetGrpcOptions and NewGrpcCallBatcher with STK Engine. |
|
Grpc is not available with STK Engine. Provided for parity with STK Runtime and Desktop. |
|
Shut down the STK Engine application. |
Import detail#
from ansys.stk.core.stkengine import STKEngineApplication
Method detail#
- STKEngineApplication.new_object_root(self) STKObjectRoot #
Create a new object model root for the STK Engine application.
- Returns:
STKObjectRoot
- STKEngineApplication.new_object_model_context(self) STKObjectModelContext #
Create a new object model context for the STK Engine application.
- Returns:
STKObjectModelContext
- STKEngineApplication.set_grpc_options(self, options: dict) None #
Grpc is not available with STK Engine. Provided for parity with STK Runtime and Desktop.
Available options include: { โraise exceptions with STK Engineโ : bool }. Set to false to suppress exceptions when using SetGrpcOptions and NewGrpcCallBatcher with STK Engine.
- STKEngineApplication.new_grpc_call_batcher(self, max_batch: int = None, disable_batching: bool = True) GrpcCallBatcher #
Grpc is not available with STK Engine. Provided for parity with STK Runtime and Desktop.