Skip to main content

Sherlock APIs 2026 R1

Examples: SherlockLayerService.updateTestPointsByFile()

Last update: 09.03.2026

Proto Request Example

import SherlockLayerService_pb2
import SherlockLayerService_pb2_grpc
import grpc
import os

channel = grpc.insecure_channel('localhost:9090')
stub = SherlockLayerService_pb2_grpc.SherlockLayerServiceStub(channel)

message = SherlockLayerService_pb2.UpdateTestPointsByFileRequest()
message.project = "Tutorial Project"
message.ccaName = "Main Board"
message.filePath = os.getcwd() + "\\TestPoints.csv"

response = stub.updateTestPointsByFile(message)

print(str(response))

Python Example

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

Connect with Ansys