parameters: (cmd)
return_statement: return ret_val
docstring: convenience method to get houdini object and call hscript command
docstring_summary: convenience method to get houdini object and call hscript command
docstring_tokens: convenience method to get houdini object and call hscript command
function: def hscript(cmd):
      '''convenience method to get houdini object and call hscript command'''
      #print("--> %s" % cmd)
      houdini = Houdini.get()
      ret_val = houdini.hscript(cmd)
      for error in errors:
          if ret_val.startswith(error):
              raise HoudiniException(ret_val)
      return ret_val
function_tokens: def hscript ( cmd ) : #print("--> %s" % cmd) houdini = Houdini . get ( ) ret_val = houdini . hscript ( cmd ) for error in errors : if ret_val . startswith ( error ) : raise HoudiniException ( ret_val ) return ret_val