Handbook

Version: 2.0

Automation

Command line interface

PureRef supports limited functionality to be triggered from the command line:

Example command:
PureRef -c 'load;example.pur' -c 'exportScene;D:/example.png;1000;1000;false' -c 'exit'

Available commands: [] = optional argument, () = default value
- clearScene Clears the current scene.

- exit Closes the application.
[Exit code(0)]

- exportImages Exports all images in the current scene to individual png files.
Output directory The directory must exist for the export to succeed.
[Export cropping(true)] If this is set to false the images will be exported unmodified.
[Name override] If this is provided all exported images will be named according to
this string. %0 = Original name, %1 = Sequence number, %2 = Sequen
ce number with leading zeroes, and %3 = Scene name. An empty templ
ate will result in the original name.

- exportScene Exports the current scene.
Path Output file path.
[Width(-1)] Width of the output image (1-20000). If set to -1 it will try to us
e the width of the scene.
[Height(-1)] Height of the output image (1-20000). If set to -1 it will try to u
se the height of the scene.
[Canvas background(true)] Include canvas background.
[Image borders(true)] Include image borders.
[Include children(true)] Include child items.

- load Loads given files. Additionally, If the files are images, you can p
rovide x and y coordinates for where to place the loaded images.
Paths Files to load.
[X(0)] X-coordinate of the center of the loaded images
[Y(0)] Y-coordinate of the center of the loaded images

- save Saves the current scene.
Path Output file path.

Silent installation

PureRef uses NSIS on Windows which means the installer supports the /S switch to make it silent.

On macOS the PureRef.app can be manually extracted from the .dmg using hdiutil.

The .deb and .rpm packages should also support silent install on Linux.

Make sure you have read and agreed to the license agreement before installing silently.


Something looking strange or missing? Let us know! Send feedback