.NetCommand return Value

Is it possible to return a return value for a .NetCommand? If not, what is the best way to provide feedback. Maybe through events?
All tips are welcome.

Good question, I guess netCommands cannot directly return some value.

An idea could be that the netCommand stores the value in some property (of a component, or in a layoutItem like ILayoutPropertyList), then the python script can read that property after executing the command.

I am also interested in other ideas… :smile: