def import_scene(path = None): if os.path.exists(path): namesspace = files.file_name_no_extension(files.file_name(path)) return cmds.file(path, i = True, f = True, ns = namesspace, esn = False)