<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Environment Variables Used by the NX Plotting System</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle">Environment Variables Used by the NX Plotting System</div>
      <hr noshade="true">
      <p class="para_topic">The NX plotting system uses environment variables to configure the commercial printing software that is integrated with the system. Most of these environment variables specify directories where the software reads or writes plotting-related files.</p>
      <p class="para_topic">Key environment variables identify the directories associated with the current printer group. If a printer group list file exists, then NX sets these environment variables automatically according to printer group specifications in the list file.</p>
      <p class="para_topic">If all users share a single printer group, however, then the system administrator must explicitly set the environment variables to identify the printer group directory and associated directories. The environment variables are shown in the default ugii_env.dat (Windows) or .ugii_env (UNIX) file.</p>
      <div class="title_division">UGII_SDI_SERVER_CFG_DIR </div>
      <p class="para_division">Set environment variable UGII_SDI_SERVER_CFG_DIR to the path of the single printer group directory. </p>
      <p class="para_division">If you do not set UGII_SDI_SERVER_CFG_DIR, however, NX uses ${UGII_BASE_DIR}/nxplot/config/pm_server, which is the &quot;system default&quot; printer group. No printers are defined in this empty printer group, so if it is used, you will be unable to direct plots to an actual printer device. You can use the default printer group only to convert plot files from CGM to some alternate format (EMF, JPEG, PNG, TIFF).</p>
      <div class="title_division">UGII_SDI_BPS_JOBS_DIR </div>
      <p class="para_division">You can optionally set environment variable UGII_SDI_BPS_JOBS_DIR to the path of a jobs directory that stores files for individual plot jobs processed for this printer group. Because the files created in this directory are usually short lived, you will probably prefer to create this directory under a directory generally used for temporary files.</p>
      <p class="para_division">If you do not set UGII_SDI_BPS_JOBS_DIR  NX defaults to ${UGII_TEMP_DIR}/bps. </p>
      <p class="para_division">You can find all files for a particular plot job in a subdirectory of ${SDI_BPS_JOBS_DIR}/user_name/node_name, where user_name represents the user account name, and node_name represents the workstation node name.</p>
      <div class="title_division">UGII_SDI_OVERRIDE_HOME</div>
      <p class="para_division">You can optionally set environment variable UGII_SDI_OVERRIDE_HOME to the path of a home directory that stores user profiles for this printer group. Because user-specific files are created in this directory, you will probably prefer to create this directory under the user's home directory.</p>
      <p class="para_division">If you do not set UGII_SDI_OVERRIDE_HOME, NX uses the user's home directory (${HOME}). </p>
      <p class="para_division">You can find the user-specific files in the pm_server subdirectory of the home directory.</p>
   </body>
</html>