In a previous post, I asked how you could select a camera from a Side Panel plugin. I was pointed to the ConfigDump tool as an example of how to traverse views and identify a camera.
Call me dense, but I can’t figure out how to use the ConfigDump utility in the Smart Client. From the code, I can see it has two sets of ViewItemManagers, ViewItemPlugins, and ViewItemUserControls, but I don’t know how to invoke them.
I ran the ConfigDump from the Management Client, but it had nothing to do with views.
I guess you read about the Configuration Dump in the MIP Documentation. What it fails to mention is that when you have the Configuration Dump plug-in loaded in the Smart Client you use it like this: In setup drag the Configuration Dump from the left hand pane onto the view where you want it to display, then go out of setup mode. It is very similar to the way you drag a camera onto a view in order to display the camera video.
Management Client does not know views like the Smart Client does so the information you get is very different.
Thanks. I now see how to select a view item. I also see how to select a view, but one thing bothers me.
To select a view, you have to fill out a SetSelectedViewItemData. One of the fields is “Screen”. My system has only 1 screen (Primary Display), even though I have two monitors. But if I had more than one screen, how would I know which one to pick? I don’t see an association between Screens and Windows. Does the Screen field matter for the command “SelectWindow”?