<!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>CGM Defaults File</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_topic5" id="xps10_pagetitle">CGM Defaults File</div>
      <hr noshade="true">
      <div class="title_division">Overview</div>
      <p class="para_division">The system can read additional CGM creation parameters from a CGM Defaults File. This file gives you greater control over the translation of objects to and from CGMs. The use of this file is optional. This default file is used by CGM Export, CGM Import, and CGM Open C and C++ API functions.</p>
      <div class="title_division">Installing the CGM DEFAULTS File</div>
      <p class="para_division">The CGM Defaults File will be located in the directory pointed to by the UGII_UTIL environment variable and named cgmdef.txt This default file is meant to be an example file only. You can copy this file to your home directory.</p>
      <div class="title_division">Using the File</div>
      <p class="para_division">To use the CGM Defaults File, define the environment variable UGII_CGM_DEFAULTS so that it points to your version of the CGM Defaults File. If &quot;Default File&quot; was selected as the fonts option from the CGM Export dialog, but UGII_CGM_DEFAULTS is not defined, the CALS-compliant &quot;4 CALS&quot; option is used by default.</p>
      <div class="title_division">Setting Up the File</div>
      <p class="para_division">The CGM Defaults File has the following syntax:</p>
      <p class="para_division">Keyword [options]</p>
      <p class="para_division">Keywords</p>
      <p class="para_division">Setting Virtual Device Coordinates</p>
      <p class="para_division">Exporting Text Fonts</p>
      <p class="para_division">Importing Text Fonts</p>
      <p class="para_division">Exporting Width Information</p>
      <p class="para_division">Importing Width Information</p>
      <p class="para_division">Special Drafting Character Encoding</p>
      <p class="para_division">Setting Up Defaults</p>
      <p class="para_division">Examples</p>
   </body>
</html>