ProductInstance#

class ansys.geometry.core.connection.product_instance.ProductInstance(pid: int)#

ProductInstance class.

This class is used as a handle for a local session of Ansys Product’s backend: Discovery, Windows Geometry Service or SpaceClaim.

Parameters:
pidint

The local instance’s process identifier. This allows to keep track of the process and close it if need be.

Overview#

close

Close the process associated to the pid.

Import detail#

from ansys.geometry.core.connection.product_instance import ProductInstance

Method detail#

ProductInstance.close() bool#

Close the process associated to the pid.