static void AddDefaultCustomEnvironment(RhinoDoc rhinoDoc)
        {
            // There is no default environment so add one now
            var type    = typeof(CustomEnvironment);
            var content = RenderContent.Create(type, RenderContent.ShowContentChooserFlags.None, rhinoDoc) as CustomEnvironment;

            if (content == null)
            {
                return;
            }
            rhinoDoc.CurrentEnvironment.ForBackground = content;
            rhinoDoc.RenderSettings.BackgroundStyle   = BackgroundStyle.Environment;
        }