@@ -459,10 +459,12 @@ def __init__(self,
459
459
super ().__init__ ()
460
460
self ._own_process = False
461
461
self .ansys_path = ansys_path
462
+ from datetime import datetime
463
+ current_time = datetime .now ().strftime ("%H:%M:%S" )
462
464
warnings .warn (UserWarning (f"=================!!!!!!!!!!!!========="
463
465
f"trying to load api with { ansys_path } "
464
466
f""
465
- f""
467
+ f"{ current_time } "
466
468
f"" ))
467
469
self ._client_api_path = load_api .load_client_api (ansys_path = ansys_path )
468
470
@@ -620,10 +622,12 @@ def __init__(self,
620
622
timeout = None ):
621
623
# Load DPFClientAPI
622
624
super ().__init__ (ansys_path = ansys_path , load_operators = load_operators )
625
+ from datetime import datetime
626
+ current_time = datetime .now ().strftime ("%H:%M:%S" )
623
627
warnings .warn (UserWarning (f"=================!!!!!!!!!!!!========="
624
628
f"LOADED API WITH { self ._client_api_path } "
625
629
f""
626
- f""
630
+ f"{ current_time } "
627
631
f"" ))
628
632
# Load DataProcessingCore
629
633
from ansys .dpf .gate .utils import data_processing_core_load_api
@@ -638,10 +642,11 @@ def __init__(self,
638
642
f"DPF directory not found at { os .path .dirname (path )} "
639
643
f"Unable to locate the following file: { path } " )
640
644
raise e
645
+ current_time = datetime .now ().strftime ("%H:%M:%S" )
641
646
warnings .warn (UserWarning (f"=================!!!!!!!!!!!!========="
642
647
f"LOADED DPC WITH { path } "
643
648
f""
644
- f""
649
+ f"{ current_time } "
645
650
f"" ))
646
651
data_processing_capi .DataProcessingCAPI .data_processing_initialize_with_context (1 , None )
647
652
self .set_as_global (as_global = as_global )
0 commit comments