I have a view the smart client, and i can change the camera displayed with my plugin. If write the code in init() funtion it’s ok, but when i use the samed code in a thread (I create it in the init function) I have message error that say another thread are owner of this object.
the code is : (_viewAndLayoutItem = my view) the error comm from the _viewAndLayoutItem
Dictionary<String, String> cameraViewItemProperties = new Dictionary<string, string>(); cameraViewItemProperties.Add(“CameraId”, 58fc4e5e-fdd7-43fb-82ce-270372783243");
_viewAndLayoutItem.InsertBuiltinViewItem(0, ViewAndLayoutItem.CameraBuiltinId, cameraViewItemProperties);
_viewAndLayoutItem.Save();
exist another function to changed the camer display on my view? or is a solution for use the _viewAndLayoutItem