private static string[] GetDataEntries(string relativePath) { if (FileManager.DataTree != null) { FSNodeDir dir = FileManager.DataTree.RootNode.GetSubDirByPath(relativePath); if (dir != null) { string[] files = dir.GetRelativePaths(removeFromFileEnding: "."); return(files); } } return(null); }
private static string[] GetAttribEntries(string relativePath) { if (FileManager.AttribTree != null) { FSNodeDir dir = FileManager.AttribTree.RootNode.GetSubDirByPath("simulation\\attrib\\" + relativePath); if (dir != null) { string[] files = dir.GetRelativePaths("simulation\\attrib\\", "."); return(files); } } return(null); }