get_vertices_of_line#

Modeler2D.get_vertices_of_line(assignment: str) → list#

Generate a list of vertex positions for a line object from AEDT in model units.

Parameters:
assignmentstr

Name of the line object in AEDT.

Returns:
list

List of the [x, y, (z)] coordinates for the 2D or 3D line object.

References

>>> oEditor.GetVertexIDsFromObject

Examples

>>> from ansys.aedt.core import Hfss
>>> app = Hfss()
>>> app.modeler.get_vertices_of_line(assignment="Box1")