Exporting models to XML can be invoked through the command line.
modelexport -repo <repo name> -c <category> -m <model> -v <version> [-g <group>] -o <xml file> [-f] (Force overwrite of the XML file if it already exists) [-x <XML version>] (The version of 3D XML to generate, if not included the version of 3D installed will be used)
Example
jre\bin\Java -Xmx512m -XX:MaxMetaspaceSize=512m -splash: -jar WhereScape-3D-HEAD-bundle.jar modelexport -repo "Local repository" -c "Load and Staging" -m "Tutorial" -v "1.0" -o "C:\temp\Tutorial.xml" -f