Arbortext Command Language > set Command Options > set graphicspath
  
set graphicspath
set graphicspath=d1 [:dn]
This command specifies a list of directories to search for graphic files when their references do not specify an absolute path name (each directory separated by a semicolon). The initial setting is the value of the APTGRPATH environment variable if set. Otherwise, it defaults to the graphics subdirectory of Arbortext-path. If a graphics subdirectory exists in either the Arbortext-path\application or Arbortext-path\custom directory, that subdirectory is also part of the default graphics path. Use %D to refer to the Arbortext-path\graphics directory. Use %B to refer to directories relative to the current document’s directory.
Any base URI and the document's parent directory (if different from the base URI) are included by default in the directories searched for graphics. When any set graphicspath directory parameter is set to a value of %^, the parent document directory will not be included when searching for graphics. Only the paths specified will be searched. If you want to include the current working directory in the graphics path, add a period ( . ) to the list of directories. However, it is recommended that you do not include the current working directory in your graphics path list, as this can cause inconsistent results.
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.
The Arbortext-path\custom\graphics directory is also automatically included if you specify %D in the path.
Example
set graphicspath="c:\\Program Files\\Arbortext\\editor\\graphics;%^;
c:\\Arbortext\\editor\\packages\\graphics"
A list of multiple directories must be enclosed in quotation marks.
You can use the append_graphics_path function to update the graphics path.
Related Topics
append_graphics_path function
option_path_list function
oid_graphic_pathname function
Symbolic parameters in path list variables