geometry#

property Mapdl.geometry: Geometry#

Geometry information.

See ansys.mapdl.core.mapdl_geometry.Geometry

Examples

Print the current status of the geometry.

>>> print(mapdl.geometry)
MAPDL Selected Geometry
Keypoints:  8
Lines:      12
Areas:      6
Volumes:    1

Return the number of lines.

>>> mapdl.geometry.n_line
12

Return the number of areas.

>>> mapdl.geometry.n_area
6

Select a list of keypoints.

>>> mapdl.geometry.keypoint_select([1, 5, 10])

Append to an existing selection of lines.

>>> mapdl.geometry.line_select([1, 2, 3], sel_type='A')

Reselect from the existing selection of lines.

>>> mapdl.geometry.line_select([3, 4, 5], sel_type='R')