ACPInstance#
- class ansys.acp.core.ACPInstance(*, server, filetransfer_handler, is_remote)#
- Control an ACP instance. - Supports the following operations to control an ACP instance: - Loading and unloading ACP models 
- Up- and download of files to the (possibly remote) ACP instance 
- Check if the ACP instance is running 
 - In addition, the ACP instance may support starting, stopping, and restarting. - Note that this class is not meant for instantiating directly. The - launch_acp()function should be used instead.- Methods - ACPInstance.check([timeout])- Check if the ACP instance is running. - Close all models. - ACPInstance.download_file(remote_path, ...)- Download a file from the server. - ACPInstance.import_model(path, *[, name, format])- Load an ACP model from a file. - ACPInstance.restart([stop_timeout, ...])- Stop, then start the product instance. - ACPInstance.start([timeout])- Start the product instance. - ACPInstance.stop(*[, timeout])- Stop the product instance. - ACPInstance.upload_file(local_path)- Upload a file to the server. - ACPInstance.wait(timeout)- Wait for the ACP instance to respond. - Attributes - Whether the server is remote or local. - Models currently loaded on the server. - Version of the connected server. 
 
     
  
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
