Arbortext Command Language > Functions by Alphabetical Listing > append_graphics_path
  
append_graphics_path
append_graphics_path (dir[, prepend])
This function appends the directory dir to the set graphicspath option if not already present. If the optional argument prepend is specified and non-zero, dir is added to the beginning of the path list, removing any later occurrence of the directory. If prepend is zero or omitted and if dir is already present in the path list, the path list is returned.
For example, if you wanted to append your graphics directory stored in the graphics subdirectory of the company directory, so your graphics are searched last:
append_graphics_path("/company/graphics")
If you wanted to prepend your graphics directory stored in the graphics subdirectory, so your graphics are searched first:
append_graphics_path('/company/graphics',1)
If there is an Arbortext-path\custom\graphics subdirectory at startup, the \custom\graphics path is automatically prepended to the graphics path. Putting your graphics in the \custom\graphics subdirectory makes them automatically available, avoiding manual steps to add them to the path.
Related Topics
set graphicspath command