addSurfacePositionTolerance
R2026bSyntax
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
adds a tolerance for the surface position property specified by
tolSet = addSurfacePositionTolerance(tolSet,propertyName,value)propertyName to the tolerance set tolSet. The
tolerance applies to all top-level surfaces. The tolerance set, tolSet,
is an opticalToleranceSet object. This function adds a SurfacePositionTolerance object to the Tolerances property of
tolSet and appends the details of the tolerance to the
ToleranceTable property of tolSet.
applies the tolerance to only the surfaces specified by
tolSet = addSurfacePositionTolerance(tolSet,propertyName,value,TargetIndex=targetIdx)targetIdx.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b