move_with_vector#

FacePrimitive.move_with_vector(vector: list[float]) bool#

Move the face along a vector.

Parameters:
vectorlist

List of [x, y, z] coordinates for the vector.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.MoveFaces

Examples

>>> from ansys.aedt.core.modeler.cad.elements_3d import FacePrimitive
>>> obj = FacePrimitive()
>>> obj.move_with_vector(vector=[1, 0, 0])