update_mount_points#

Layer.update_mount_points(request)#

Update mount point properties of a CCA from input parameters.

Available Since: 2026R1

Parameters:
request: UpdateMountPointsRequest

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

Returns:
:
SherlockCommonService_pb2.UpdateMountPointsResponse

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

Return type:

UpdateMountPointsResponse

Examples

>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> from ansys.sherlock.core.types.layer_types import UpdateMountPointsRequest,
>>> MountPointProperties
>>> sherlock = connect()
>>> mount_point = MountPointProperties(
>>>     id="MP1",
>>>     type="Mount Pad",
>>>     shape="Rectangular",
>>>     units="mm",
>>>     side="BOTTOM",
>>>     height=1.0,
>>>     material="GOLD",
>>>     state="DISABLED",
>>>     x=0.3,
>>>     y=-0.4,
>>>     length=1.0,
>>>     width=0.2,
>>>     diameter=0.0,
>>>     nodes="",
>>>     rotation=45,
>>>     polygon="",
>>>     boundary="Outline",
>>>     constraints="X-axis translation|Z-axis translation",
>>>     chassis_material="SILVER",
>>> )
>>> response = sherlock.layer.update_mount_points(UpdateMountPointsRequest(
>>>     project="Tutorial Project",
>>>     cca_name="Main Board",
>>>     update_mount_points=[mount_point],
>>> ))