set_geometry_path method

set_geometry_path

Updates shape geometry from IGeometryPath object. Coordinates must be relative to the left top corner of the shape. Changes the type of the shape (IGeometryShape.shape_type) to ShapeType.CUSTOM.

def set_geometry_path(self, geometry_path):
    ...
ParameterTypeDescription
geometry_pathIGeometryPathGeometry path

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentException))No path found
RuntimeError(Proxy error(ArgumentException))Empty path found

See Also