parameters: (size)
return_statement: return view
docstring: Similar to GetRenderView except if a new view is created, it's
      created with the specified size instead of having t resize afterwards
docstring_summary: Similar to GetRenderView except if a new view is created, it's
      created with the specified size instead of having t resize afterwards
docstring_tokens: Similar to GetRenderView except if a new view is created it s created with the specified size instead of having t resize afterwards
function: def get_render_view(size):
      '''Similar to GetRenderView except if a new view is created, it's
      created with the specified size instead of having t resize afterwards
      '''
      view = active_objects.view
      if not view:
          # it's possible that there's no active view, but a render view exists.
          # If so, locate that and return it (before trying to create a new one).
          view = servermanager.GetRenderView()
      if not view:
          view = CreateRenderView(ViewSize=size)
      return view
function_tokens: def get_render_view ( size ) : view = active_objects . view if not view : # it's possible that there's no active view, but a render view exists. # If so, locate that and return it (before trying to create a new one). view = servermanager . GetRenderView ( ) if not view : view = CreateRenderView ( ViewSize = size ) return view