Open glopesdev opened 1 week ago
The underlying library used in Bonsai.Scripting.Expressions
is an older version of dynamic-linq.
It would be nice to document the ExpressionSink
ability to set values of properties.
For instance, this expression evaluates but it doesn't do anything
it.Property = 1
But if one uses the notation:
it.set_property(1)
it actually sets the value
It would be nice to document this behavior and potential consequences of modifying objects in bonsai (i.e. if shared across different places in the workflow)
C# expression operators are a powerful tool within Bonsai, but there is almost no documentation available on their use. Including a searchable list of example expressions would be extremely helpful.