import RMF
file_name = RMF._get_temporary_file_path("reference_frame.rmfz")
print("file is", file_name)
fh.add_frame("root", RMF.FRAME)
rh = fh.get_root_node()
reference_frame_factory = RMF.ReferenceFrameFactory(fh)
segment_factory = RMF.SegmentFactory(fh)
color_factory = RMF.ColoredFactory(fh)
origin = rh.add_child("origin", RMF.REPRESENTATION)
rbo = reference_frame_factory.get(origin)
x = origin.add_child("x", RMF.GEOMETRY)
sx = segment_factory.get(x)
cx = color_factory.get(x)
y = origin.add_child("y", RMF.GEOMETRY)
sy = segment_factory.get(y)
cy = color_factory.get(y)
z = origin.add_child("z", RMF.GEOMETRY)
sz = segment_factory.get(z)
cz = color_factory.get(z)
remote = rh.add_child("remote", RMF.REPRESENTATION)
rbr = reference_frame_factory.get(remote)
remote.add_child(x)
remote.add_child(y)
remote.add_child(z)
FileHandle create_rmf_file(std::string path)
Create an RMF from a file system path.