expression_item
freecad.datamanager_wb.domain.expression_item
¶
Lightweight representation of an expression binding.
This module defines a small dataclass used to display and select expression engine entries in the UI.
ExpressionItem(object_name, lhs, rhs, operator='=')
dataclass
¶
A single expression binding shown in the UI.
Instances represent one expression assignment (left-hand side and right-hand side) that belongs to a particular FreeCAD object. The UI uses these items to populate the expressions list and to select the referenced object when a user clicks an entry.
Attributes:
| Name | Type | Description |
|---|---|---|
object_name |
str
|
Name/label of the FreeCAD object that owns the expression. |
lhs |
str
|
Left-hand side of the expression (typically "Object.Property"). |
rhs |
str
|
Right-hand side expression string. |
operator |
str
|
Infix operator shown between |