The choice works like this: ParaView has an internal list for the initial file extension to reader mapping. The default list is in Qt/Components/Resources/XML/ParaViewReaders.xml. When you load a reader type plugin that list is extended by any new extensions from the reader's xml. When there is more than one reader that recognizes the same file extension, the reader that comes last in the list is used, or more specifically tried, first. I say tried because readers _can_ have a CanReadFile method, in which the reader snoops the file to determine if it really can read it. If that call returns false, the next reader gets a chance and so on.
David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Sun, Nov 8, 2009 at 11:17 AM, Fred Fred <[email protected]> wrote: > My problem is I have a Fluent data file with extension .cas and this file is > not displayed in the list of available files if I select Fluent in the list. > I have another file that is detected though, so I wonder if PV reads the > header of all files suspected of being read before decidig to offer them as > valid choices to the user? Or is the issue anywhere else? > > > ________________________________ > Achetez un nouveau PC et bénéficiez de Windows 7 dès sa sortie ! En savoir > plus > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
