public List <int> ListObjects() { StoredCommands sc = new StoredCommands(); uint key = sc.AppendSceneCommand_ListObjects(); ExecuteCommands(sc); vectori newobjs = new vectori(); sc.GetSceneCommandResult_ListObjects(key, newobjs); return(newobjs.ToList()); }