get_mid_points_on_dir# Modeler2D.get_mid_points_on_dir(assignment: str, axis: int) → tuple# Retrieve midpoints on a given axis direction. Parameters: assignment axisintAxis direction. Choices are 0 through 5. Returns: type Examples >>> from ansys.aedt.core.modeler.cad.primitives import GeometryModeler >>> obj = GeometryModeler() >>> obj.get_mid_points_on_dir(assignment="Box1", axis="Z")