update_mount_points_props#
- Analysis.update_mount_points_props(request)#
Update FEA Mount Points properties for one or more CCAs.
Available Since: 2027R1
- Parameters:
- project: str
Name of the Sherlock project.
- request: UpdateMountPointsPropsRequest
Contains all the information needed to update the mount point properties for one or more FEA analyses per project.
- Returns:
- :
SherlockCommonService_pb2.ReturnCodeReturn code for the request.
- Return type:
ReturnCode
Examples
>>> from ansys.sherlock.core import launcher >>> from ansys.api.sherlock.v0 import ( >>> SherlockAnalysisService_pb2 as AnalysisService, >>> ) >>> from ansys.sherlock.core.types.analysis_types import ( >>> UpdateMountPointsPropsAnalysis, >>> UpdateMountPointsPropsRequest, >>> ) >>> from ansys.sherlock.core.types.analysis_types import ( >>> UpdateMountPointsPropsAnalysis, >>> UpdateMountPointsPropsRequest, >>> ) >>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua") >>> analysis_props = UpdateMountPointsPropsAnalysis( >>> analysis_type=AnalysisService.UpdateMountPointsPropsRequest.Analysis.ICTAnalysis, >>> mount_points_element_order=AnalysisService.ElementOrder.Quadratic, >>> mount_points_max_edge_length=0.1234, >>> mount_points_max_edge_length_units="m", >>> mount_points_max_vertical=0.2345, >>> mount_points_max_vertical_units="m", >>> ) >>> request = UpdateMountPointsPropsRequest( >>> project="Tutorial Project", >>> cca_names=["Main Board"], >>> analyses=[analysis_props], >>> ) >>> returnCode = sherlock.analysis.update_mount_points_props(request) >>> assert returnCode.value == 0