EdgeSelector#
- class EdgeSelector[source]#
Bases:
EntitySelectorPattern-based selector for Edge entities. Stores matching rules, enabling reusable SimulationParams templates.
Example
>>> # Simple: match edges by glob pattern >>> fl.EdgeSelector(name="leading_edges").match("leading_edge*") >>> # With OR logic: match edges by name list >>> sel = fl.EdgeSelector( ... name="selected_edges", logic="OR", ... description="Edges for refinement" ... ).any_of(["edge1", "edge2"])
Attributes
- logic: Literal['AND', 'OR']#
- Default:
'AND'
Additional Constructors
- match(pattern, *, attribute='name')#
Append a matches predicate and return self for chaining.
Glob dialect: flow360_schema.framework.glob_pattern.
- not_match(pattern, *, attribute='name')#
Append a not-matches predicate and return self for chaining.
Glob dialect: flow360_schema.framework.glob_pattern.
- any_of(values, *, attribute='name')#
Append an in predicate and return self for chaining.