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.

5 comments

  1. 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?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s