I tried to open a Bohr-cml file in paraview. First time it showed the structure however agin second time when I opened it, it was showing only background
I’m not able to reproduce here. With ParaView 5.13:
- File / open, choose a .cml file, apply
- do it again
- → both show properly
Can you share some data? Can you detail yout steps please?
My mol-bohr.cml file is as
<?xml version="1.0"?>
<molecule id="mol.xyz" spinMultiplicity="3" xmlns="http://www.xml-cml.org/schema">
<atomArray>
<atom id="a1" elementType="C" x3="-1.29015" y3="1.76827" z3="-5.66918e-06"/>
<atom id="a2" elementType="C" x3="1.28794" y3="1.76936" z3="-1.88973e-06"/>
<atom id="a3" elementType="C" spinMultiplicity="3" x3="0.0012132" y3="-2.41223" z3="1.88973e-06"/>
<atom id="a4" elementType="N" x3="-1.99544" y3="-0.763569" z3="-1.13384e-05"/>
<atom id="a5" elementType="H" x3="-3.82242" y3="-1.35118" z3="0.000156847"/>
<atom id="a6" elementType="H" x3="-2.64115" y3="3.3093" z3="3.02356e-05"/>
<atom id="a7" elementType="H" x3="2.63759" y3="3.31116" z3="0.000124722"/>
<atom id="a8" elementType="N" x3="1.99649" y3="-0.761522" z3="-1.32281e-05"/>
<atom id="a9" elementType="H" x3="3.82466" y3="-1.34605" z3="-0.000132281"/>
</atomArray>
<bondArray>
<bond atomRefs2="a9 a8" order="1"/>
<bond atomRefs2="a8 a2" order="1"/>
<bond atomRefs2="a8 a3" order="1"/>
<bond atomRefs2="a4 a1" order="1"/>
<bond atomRefs2="a4 a3" order="1"/>
<bond atomRefs2="a4 a5" order="1"/>
<bond atomRefs2="a1 a2" order="2"/>
<bond atomRefs2="a1 a6" order="1"/>
<bond atomRefs2="a2 a7" order="1"/>
</bondArray>
</molecule>
I have no issue with this file. I can load it (and again):
I am unable to open it. I am using paraview 5.6.2 64-bit on window 11.
ParaView 5.6.2 is pretty old now. The latest is 5.13: https://www.paraview.org/download/?version=v5.13
Can you retry with it ?
Thank you so much for your help. I have made it enabled by resetting it.