ThreadMarshaller#
- class ansys.stk.core.stkdesktop.ThreadMarshaller#
object
Automate multiple STK instances from one Python script using threads.
Overview#
Return an instance of the original stk_object that may be used on the current thread. May only be called once. |
|
Must be called on the destination thread prior to calling GetMarshalledToCurrentThread(). |
|
Call in the destination thread after all calls to STK are finished. |
Import detail#
from ansys.stk.core.stkdesktop import ThreadMarshaller
Method detail#
- ThreadMarshaller.get_marshalled_to_current_thread(self)#
Return an instance of the original stk_object that may be used on the current thread. May only be called once.