zospy.solvers.position#
- zospy.solvers.position(thickness_cell: ZOSAPI.Editors.IEditorCell, from_surface: ZOSAPI.Editors.LDE.ILDERow | ZOSAPI.Editors.NCE.INCERow, length: float) ZOSAPI.Editors.ISolvePosition #
Solver for position.
Solves the position of surface relative to from_surface. This solver works only on thickness cells.
- Parameters:
- thickness_cell: ZOSAPI.Editors.IEditorCell
Surface for which the position should be set
- from_surface: ZOSAPI.Editors.IEditorRow | int
Index of the surface or surface from which the position is measured
- length: float
Distance between from_surface and surface.
- Returns:
- The SolveData object for the position.