I am calling the SetCamearInViewCommand with cameraFQID as null to remove the camera from view.
This command is successfully removing the camera, but there is message – “Camera ‘’ is not available” with an exclamation mark in view.
Is there any way to avoid this message or any alternate way to remove the camera from view?
Alternative:
In the Smart Client View and Windows Tool sample on the View Edit tab, you can insert a Empty
In the sample code it uses
_viewAndLayoutItem.InsertBuiltinViewItem( ..
Thank you very much. Following code worked.
_viewAndLayoutItem.InsertBuiltinViewItem(0,
ViewAndLayoutItem.EmptyBuiltinId, new Dictionary<string, string>());