list_definitions#
- Client.list_definitions(product_name: str | None = None, product_version: str | None = None, timeout: float | None = None) Sequence[Definition] #
Get the list of supported product definitions.
- Parameters:
- Returns:
list
List of supported product definitions.
Examples
>>> import ansys.platform.instancemanagement as pypim >>> client = pypim.connect() >>> for definition in client.list_definitions(product_name="mapdl"): >>> print(f"MAPDL version {definition.version} is available on the server.") MAPDL version 221 is available on the server.