Other input and output types?

 
 
 
Posted by:mbreidt
Data created:24 October 2012

Still messing around with the Geometry plugin of Lab and I wonder whether it is possible to get other types of external inputs, e.g. text fields, file names,

Also, I wonder whether there is a way to output other stuff beyond the output required by the plugin, e.g. some text or numbers into the panel UI, and/or text to the MXS listener?

Thanks
Martin

Martin

 

Yes, this is till on the TODO but text inputs should appear as textboxes in UI, filenames (probably represented as System.IO.FileInfo and System.IO.DirectoryInfo) as file/directory pick dialogs, etc. So that is all in the future, We will try to get to these in next few builds.

Regarding outputting stuff, usually outputs need to be "pulled"/evaluated from the graph. I wonder what would trigger UI text output to be evaluated. Would it evaluate at the same time as the object output? Also, besides debugging, what would be a use for these?

Marsel Khadiyev (Software Developer, EPHERE Inc.)

I guess there is a long todo list just for the UI (e.g. limits)?

Regarding outputting stuff: this can be useful for providing all kinds of informations to the user (how many vertices are there, what is the distance between two nodes, dimensions/color/class of the picked node, etc.). Not sure when these values should be evaluated, isn't there a way to push the data out when the output is pulled and the UI is visible?

Martin

Martin