Files
make-cad/docs/api/tag.md
T
2026-08-04 23:45:23 +08:00

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 tag or simplecadapi.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, or lineage.

Returns

Serializable predicate that can be used in Query.where(...).