Tips and tricks: Importing objects from a XML file
Hi everyone,
When creating  and opening a scene, we find issues to import the objects if they are not in the “objects” folder. A box dialog will open and ask us where are the objects.  It is tedious if we have a lot of objects to import. So, in order to import them in just one time, we can use the XML files and the $(XMLPATH) command in this way.
Where “C:/Users/Administrator/Desktop/esfera.sd” will be replaced with
Putting the $(XMLPATH) and checking the “Apply to all files…” will import the all external sd files where the XML file is placed and subfolders. It means if you have saved the xml file in “c:\temp\scene.xml” if you import the xml from this path, putting $(XMLPATH) command will check all objects in “C:\temp” and subfolders.
luisM.



Gracias Luis, siempre sacándonos de apuros.
Un saludo
Un saludo y gracias Mikel!
Realflow will be better this year!
luisM.
Can this also work with $(IDOC) for wetmaps? I have multiple emitters colliding with 1 object and I would like to generate individual wetmaps. I tried changing the output path to images/$(IDOC) but it did not work. Is there another way to do it?
No, it doesn’t work in this way. Maybe you could do a script to change the path to export the wetmaps but it would be a bit complicated.
luisM.
I†m counting on the two layers not being visible and colliding with the character at the same time to keep movement smooth.