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#
Set the cell solve type to Position.
Solves the position of surface relative to from_surface. This solver works only on thickness cells.
- Parameters:
- thickness_cellZOSAPI.Editors.IEditorCell
Surface for which the position should be set
- from_surfaceZOSAPI.Editors.IEditorRow | int
Index of the surface or surface from which the position is measured
- lengthfloat
Distance between from_surface and surface.
- Returns:
- The SolveData object for the position.