update_test_points#

Layer.update_test_points(request)#

Update test point properties of a CCA from input parameters.

Available Since: 2026R1

Parameters:
request: UpdateTestPointsRequest

Contains all the information needed to update the properties for one or more test points.

Returns:
:
SherlockCommonService_pb2.UpdateTestPointsResponse

A status code and message for the update test points request.

Return type:

UpdateTestPointsResponse

Examples

>>> from ansys.sherlock.core.types.layer_types import UpdateTestPointsRequest,
>>> TestPointProperties
>>> from ansys.api.sherlock.v0 import SherlockLayerService_pb2
>>> from ansys.sherlock.core import launcher
>>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua")
>>> test_point = TestPointProperties(
>>>     id="TP1",
>>>     side="BOTTOM",
>>>     units="in",
>>>     center_x=1.0,
>>>     center_y=0.5,
>>>     radius=0.2,
>>>     load_type=SherlockLayerService_pb2.TestPointProperties.LoadType.Force,
>>>     load_value=3.0,
>>>     load_units="ozf",
>>> )
>>> response = sherlock.layer.update_test_points(UpdateTestPointsRequest(
>>> project="Tutorial Project",
>>> cca_name="Main Board",
>>> update_test_points=[test_point],
>>> ))