Skip to content

Allow to send a PView via Onelab if there is only one value inside [e.g. after...

Nicolas Marsic requested to merge onelabPViewSingleValued into master

Hello Christophe,

I hope you are doing well!

I played around with Plugin(Integrate), and I wanted to transfer the computed integral to a ONELAB database. Since the PView is not a PViewDataGModel::DataType::NodeData, I cannot simply use SendToServer View[] "". Is there an easy way to go around that?

If not, I wrote a quick hack for PViewData::sendToServer(). It basically checks if the PView is made of a single data and just sends it as a double.

Cheers, Nicolas.

Merge request reports