Save As for an open family

I need a script to save as an open family to a given filepath as part of my current project. I cant get orchid nodes to work, and all of the other ones only work in rvt files. Ideas?

sorry solved it, wasnt giving loci a good filepath.