[Closed] xml importer project beginner questions
Hi all:) I am new one there.
I have programming lab on university and I must make simple project.
I am trying to make some kind of importer to 3ds max. I export obj using python in blender.I make also xml file where I have data about modifier. Then I turn on maxscript which compares blender modifier and Max modifier. Finally it import obj and add Max modifier.
Quite simple isn’t it?For me it is not.
I do not have any problem which python to export data or make xml file.
I have problem in max. I am new max user and about Maxscrit i do not know almost nothing.
Simple obj import is quite simple I think
importFile @"Cone.obj"#noPrompt $default.name="Cone"
Xml reading isn’t that simple
I had found MaxScript Lib xml. And I do not know what I should do which that.I run that script. Later I wrote in listener
XMLDocument("D:\\PROJECT\\xml\\x.xml") (XMLDocument file:"D:\PROJECT\xml\x.xml" rootNode:undefined dom:dotNetObject:System.Xml.XmlDocument loaded:undefined)
or
XMLDocument(rootNode) (XMLDocument file:$<root> rootNode:undefined dom:dotNetObject:System.Xml.XmlDocument loaded:undefined)
If somone would tell me what should I do to import that data It would be great:) I know that I shouldn’t do so big project if I am starting learning language. Honestly I decided to do that bacause I wanted to start working in Max and it is great opportunity and mobilization to do that.
Finally I have never used xml file. Always when I was exporting data from processing or blender .txt was enught for me. Thanks for any reply:)