Home › Forum › Community Help › Programming with SOFA › How to read XML file in SOFA? Where to read it in c++ code? Tagged: 32_bits, SOFA_other, Windows_7 This topic contains 2 replies, has 2 voices, and was last updated by Sen 6 months ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 18 April 2017 at 13 h 11 min #8932 SenParticipant student hello， I am studying the c++ code of sofa. I wan to know how to convert the XML information to c++ in the various classes? 18 April 2017 at 14 h 16 min #8933 HugoKeymaster SOFA Consortium, Inria Hi Sen, At my best knowledge there is no direct way (like a script) generating C++ code from XML file. You can browse the existing topics on how to write a cpp scene on the forum, or read the documentation. Cheers, Hugo 18 April 2017 at 14 h 51 min #8955 SenParticipant student Hi, I know XML file can read by c++.But I don not konw where to read the XML information in c++code .Such as how visual model and gravity information is passed to the c++ code by XML. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic.