thank you for your answer. I`ll investigate ways to implent it and see how it goes.
To your question: I tried out the dialog box, but figured that a) Rhino is blocked during execution and b) i can only query the result once the dialog box is finished as per this line
var dialog_rc = dialog.ShowModal(RhinoEtoApp.MainWindow);
taken from the “SampleCsEtoModalDialogCommand.cs” example.
What I am ultimatly trying to do is display a viewport in a seperate window with a slider controling the position of a brep on a set of points. For this, the slider value gets mapped to the number of points in a list and the brep transformed to the corresponding point and displayed in a conduit. I cropped that from the code to focus on the actual issue since the rest is more or less running.
I am open to other suggestions on how to handle this.