7 in_name = RMF.get_example_path(
"3U7W.rmf")
8 out_name = RMF._get_temporary_file_path(
"3U7W.out.rmfz")
13 print(
"creating file", out_name)
25 for f
in in_file.get_frames():
26 print(
"cloning frame", f)
27 in_file.set_current_frame(f)
28 out_file.add_frame(in_file.get_name(f), in_file.get_type(f))
void clone_static_frame(FileConstHandle input, FileHandle output)
void clone_hierarchy(FileConstHandle input, FileHandle output)
FileConstHandle open_rmf_file_read_only(std::string path)
void clone_file_info(FileConstHandle input, FileHandle output)
void clone_loaded_frame(FileConstHandle input, FileHandle output)
FileHandle create_rmf_file(std::string path)
Create an RMF from a file system path.