next#
- MapdlPool.next(return_index=False)#
Return a context manager that returns available instances.
This method manages the instance state (locked and busy) when the code enters and exits the code block.
- パラメーター:
- return_indexbool,
optional Whether to return the index along with the instance. The default is
False.
- return_indexbool,
- Returns:
ctxContext manager to manage
MapdlPoolinstances.