Skip to main content

Sherlock APIs 2025 R2

Examples: List Amplitude Units

Last update: 17.07.2025

Proto Request Example

import SherlockLifeCycleService_pb2
import SherlockLifeCycleService_pb2_grpc
import grpc

channel = grpc.insecure_channel('localhost:9090')

stub = SherlockLifeCycleService_pb2_grpc.SherlockLifeCycleServiceStub(channel)

message = SherlockLifeCycleService_pb2.ListAmplUnitsRequest()

response = stub.listAmplUnits(message)

print(str(response))

Python Example

For a Python example, refer to the online PySherlock Reference.

Connect with Ansys