Get the active layer (must be a vector layer) layer = iface.activeLayer() layer.selectAll(). To select using an expression, use the selectByExpression() ...
確定! 回上一頁