<div dir="ltr"><div>> <span style="color:rgb(33,33,33)">We're planning to deprecate and remove xdmf2 this summer.</span><span class="inbox-inbox-Apple-converted-space" style="color:rgb(33,33,33)"> </span></div><div><span class="inbox-inbox-Apple-converted-space" style="color:rgb(33,33,33)"><br></span></div><div><span class="inbox-inbox-Apple-converted-space" style="color:rgb(33,33,33)">Glad to hear that!</span></div><div><span class="inbox-inbox-Apple-converted-space" style="color:rgb(33,33,33)"><br></span></div><div><span class="inbox-inbox-Apple-converted-space" style="color:rgb(33,33,33)">> </span><span style="color:rgb(33,33,33)">That said feel free to submit a merge request and I'll merge it.</span></div><div><span class="inbox-inbox-Apple-converted-space" style="color:rgb(33,33,33)"><br></span></div><a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/1647">https://gitlab.kitware.com/paraview/paraview/merge_requests/1647</a><br><div><br></div><div>Cheers,</div><div>Nico</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 17, 2017 at 2:32 PM David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>We're planning to deprecate and remove xdmf2 this summer. So this will be less of an issue in a release or two.<br></div>That said feel free to submit a merge request and I'll merge it.<br><br><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div></div></div></div></div></div></div><div class="gmail_extra"><div><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br></div></div></div></div></div></div></div><div class="gmail_extra"><div><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Principal Engineer</div></div></div></div></div></div></div><div class="gmail_extra"><div><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="m_6609502422473446065gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div></div></div></div></div></div><div class="gmail_extra">
<br><div class="gmail_quote">On Wed, May 17, 2017 at 5:05 AM, Nico Schlömer <span dir="ltr"><<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Any chance of this landing upstream?<div><br></div><div>Cheers,</div><div>Nico</div></div><div class="m_6609502422473446065HOEnZb"><div class="m_6609502422473446065h5"><br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 25, 2017 at 3:21 PM David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This should do it.<br>diff --git a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml b/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml<br>index 46bf7fb..9236ebd 100644<br>--- a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml<br>+++ b/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml<br>@@ -95,7 +95,7 @@<br> </StringVectorProperty><br> <br> <Hints><br>- <ReaderFactory extensions="xmf xdmf"<br>+ <ReaderFactory extensions="xmf xdmf xmf3"<br> file_description="Xdmf3 Reader" /><br> </Hints><br> <!-- End of Xdmf3Reader --><br>@@ -128,7 +128,7 @@ type, otherwise it's a vtkMultiBlockDataSet.<br> </IntVectorProperty><br> <br> <Hints><br>- <ReaderFactory extensions="xmf xdmf"<br>+ <ReaderFactory extensions="xmf xdmf xmf3"<br> file_description="Xdmf3 Reader" /><br> </Hints><br> <!-- End of Xdmf3ReaderT --><br>@@ -158,7 +158,7 @@ type, otherwise it's a vtkMultiBlockDataSet.<br> </IntVectorProperty><br> <br> <Hints><br>- <ReaderFactory extensions="xmf xdmf"<br>+ <ReaderFactory extensions="xmf xdmf xmf3"<br> file_description="Xdmf3 Reader (Top Level Partition)" /><br> </Hints><br> <!-- End of Xdmf3ReaderS --><br>diff --git a/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml<br>index 0eb9ec0..22e0dc5 100644<br>--- a/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml<br>+++ b/ParaViewCore/ServerManager/SMApplication/Resources/readers.xml<br>@@ -5550,7 +5550,7 @@<br> <Documentation>Available timestep values.</Documentation><br> </DoubleVectorProperty><br> <Hints><br>- <ReaderFactory extensions="xmf xdmf"<br>+ <ReaderFactory extensions="xmf xdmf xmf2"<br> file_description="Xdmf Reader" /><br> </Hints><br> <!-- End of XdmfReader --><br><br></div><div class="gmail_extra"></div><div class="gmail_extra"><br clear="all"><div><div class="m_6609502422473446065m_-6977763746737761732m_-512270256789356471gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:(518)%20881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 25, 2017 at 7:17 AM, Nico Schlömer <span dir="ltr"><<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><span style="color:rgb(33,33,33)"><span class="m_6609502422473446065m_-6977763746737761732m_-512270256789356471m_5249899617064087749inbox-inbox-Apple-converted-space">> </span>If one had something like xmf2 and the other xmf3 it would do what you are asking for.</span><div><span style="color:rgb(33,33,33)">> You could do that if you build from source for example.</span></div><div><font color="#212121"><br></font></div></span><div><font color="#212121">I don't have a problem with that. What do I need to patch?</font></div><div><font color="#212121"><br></font></div><div><font color="#212121">Cheers,</font></div><div><font color="#212121">Nico<br></font><div><span style="color:rgb(33,33,33)"><br></span></div></div></div><div class="m_6609502422473446065m_-6977763746737761732m_-512270256789356471HOEnZb"><div class="m_6609502422473446065m_-6977763746737761732m_-512270256789356471h5"><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 24, 2017 at 11:07 PM David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>They both claim ".xmf" and ".xdmf" via the ReaderFactor extensions line you will find in readers.xml and proxies_xdmf3.xml. If one had something like xmf2 and the other xmf3 it would do what you are asking for. You could do that if you build from source for example.<br></div><br>If not you should be able to force something like that by making a dummy reader xml only plugin just to get the file extension association. See <a href="http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_Reader" target="_blank">http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_Reader</a> for hints.<br><br></div><br><div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_6609502422473446065m_-6977763746737761732m_-512270256789356471m_5249899617064087749m_5113872360295038297gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:(518)%20881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 24, 2017 at 4:58 PM, Nico Schlömer <span dir="ltr"><<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone,<div><br></div><div>I have a simulation code that spits out XDMF2 data (something.xdmf), and I can visualize that with ParaView by opening the file, then selecting XDMF over XDMF3 in a menu.</div><div>Since I have to repeat this process often, I'm asking myself if there's a specific XDMF2 (or XDMF3) file extension that would allow me to skip the dialog.</div><div><br></div><div>Any hints?</div><div><br></div><div>Cheers,</div><div>Nico</div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div></blockquote></div>
</div></div></blockquote></div><br></div></blockquote></div>