<!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>Open C and C++ API</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"> Open C and C++ API</div>
      <hr noshade="true">
      <p class="para_topic"> NX defines two Open C and C++ routines for the web publishing interface:</p>
      <div class="title_division">UF_WEB_author_html()</div>
      <div class="title_division">Prototype</div>
      <p class="para_division"> UF_WEB_author_html( char *output_filename, char *template_filename, int apply_to_each_component );</p>
      <div class="title_division">Description</div>
      <p class="para_division"> UF_WEB_author_html() is the main entry point that generates an output file from the template. It is very similar to the NX Author HTML interactive dialog. Call this routine to begin generating the HTML output file (&quot;output_filename&quot;) based on input from the template (&quot;template_filename&quot;).</p>
      <div class="title_division">UF_WEB_write_to_file()</div>
      <div class="title_division">Prototype</div>
      <p class="para_division"> UF_WEB_write_to_file( char *output_string );</p>
      <div class="title_division">Description</div>
      <p class="para_division"> Use UF_WEB_write_to_file() with the &lt;@UGUF...&gt; embedded command. Use UF_WEB_write_to_file() when you want an internal Open C and C++ API program to insert output strings into the HTML output file.</p>
   </body>
</html>