I am by FAR not a programmer, but I’m trying to get a few thousand mash from cameras that were recording video. So I’m trying to use the CLI version with a simple workflow
Thank you SO much! it is working now, It doesn’t export the texture, but right now I’m re-doing the xml from another export, maybe that fix it, thanks again!!!
One final question @Zuzana, as I mentioned I have a few thousand datasets to export based on the footage we shot… I thought it would be a matter of write a code with a few thousands of lines asking to render one by one, but what happened to me was that the windos CLI will try to run them one after the other without waiting the first to be over, therefore I got almost 4000 errors saying “the application is already running” anyway I can comand CLI to wait until the previous line is finished?
The only way I have found so far is to do everything in a single line replacing the -quit for a -newScene… but I’m curious to know if I’m not gonna end up having the largest cache ever known to human kind, does the app flush the cache when it creates a new scene? I have the setting to clear cache when closing… but im not sure if that includes new scene
Those are the scripts used for the tutorial on how to preserve the coordinate system of several models using XMPs (can be found and downloaded in the Help - Re-use Alignment).
Process.bat file calls ProcessDataSet.bat for different datasets and executes them one after another. You can modify them to your case.
Either -quit command or -newScene command does not clear the cache on exit by default. If you set to clear cache on exit, then cache files are deleted only after the application exits. You can also use windows “del” command and delete the files from the specified cache folder.
A year later, I read this and while I’m no expert, I want to document an updated solution for PPI users:
Problem : The help docs show that some CLI commands require “params.xml” - but it’s nowhere to find.
Solution - you need a *.rcinfo file instead :
Export model mesh from RC with the same settings you want to repeat later in command-line. (“Yes” to the info file export on the dialog.)
Refer to newly exported *.rcInfo file instead of params.xml.
Maybe you should trim it out in notepad to include only the <ModelExport>…</ModelExport> tag.
(<not sure what effect it would have leaving all other tags)
your workflow is also correct but in the latest version you can get the params.xml file directly from the Export model dialog from the app (or other dialog depending on the command you are using). You just need to set the preferred settings and then use the little icon in the bottom-left corner of the dialog to save the parametric file.