565 B
565 B
tag
API Definition
def tag(pattern: str, scope: str | TagScope = TagScope.EFFECTIVE) -> SerializablePredicate
Source: ql.py
Import Surface
- submodule:
from simplecadapi.ql import tagorsimplecadapi.ql.tag
Description
Build a tag predicate for QL filtering.
Parameters
pattern
- Description: Exact tag string or a trailing
*prefix match.
scope
- Description: One of
local,inherited,effective, orlineage.
Returns
Serializable predicate that can be used in Query.where(...).