<!DOCTYPE html>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" lang="zh-cn" xml:lang="zh-cn" class="_Skins_Global_Global_HTML5" data-mc-search-type="NGram" data-mc-help-system-file-name="Default.xml" data-mc-path-to-help-system="../../../../" data-mc-has-content-body="True" data-mc-conditions="Local.General" data-mc-target-type="WebHelp2" data-mc-runtime-file-type="Topic;Default" data-mc-preload-images="false" data-mc-in-preview-mode="false" data-mc-medium="HTML5">
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="msapplication-config" content="../../../../Skins/Favicons/browserconfig.xml" />
        <link rel="shortcut icon" href="../../../../Skins/Favicons/favicon.png" />
        <link rel="icon" sizes="16x16" href="../../../../Skins/Favicons/favicon.png" />
        <link rel="icon" sizes="16x16" href="../../../../Skins/Favicons/favicon.png" />
        <link rel="icon" sizes="16x16" href="../../../../Skins/Favicons/favicon.png" /><title>模板</title>
        <meta http-equiv="x-ua-compatible" content="IE=edge" />
        <link rel="shortcut icon" href="../../../Global_Images/favicon.ico" type="image/x-icon" />
        <link href="../../../../Skins/Default/Stylesheets/Slideshow.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Default/Stylesheets/TextEffects.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Default/Stylesheets/Topic.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Default/Stylesheets/Components/Styles.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Default/Stylesheets/Components/Tablet.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Default/Stylesheets/Components/Mobile.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Fluid/Stylesheets/foundation.6.2.3.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Fluid/Stylesheets/Styles.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Fluid/Stylesheets/Tablet.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../../Skins/Fluid/Stylesheets/Mobile.css" rel="stylesheet" type="text/css" data-mc-generated="True" />
        <link href="../../../Global_Resources/Stylesheets/Global.css" rel="stylesheet" type="text/css" />
        <link rel="shortcut icon" href="../../../../Skins/Favicons/favicon.png" />
        <link rel="icon" sizes="16x16" href="../../../../Skins/Favicons/favicon.png" />
        <link rel="icon" sizes="16x16" href="../../../../Skins/Favicons/favicon.png" />
        <link rel="icon" sizes="16x16" href="../../../../Skins/Favicons/favicon.png" />
        <script src="../../../../Resources/Scripts/jquery.min.js" type="text/javascript">
        </script>
        <script src="../../../../Resources/Scripts/purify.min.js" type="text/javascript" defer="defer">
        </script>
        <script src="../../../../Resources/Scripts/require.min.js" type="text/javascript" defer="defer">
        </script>
        <script src="../../../../Resources/Scripts/require.config.js" type="text/javascript" defer="defer">
        </script>
        <script src="../../../../Resources/Scripts/foundation.6.2.3_custom.js" type="text/javascript" defer="defer">
        </script>
        <script src="../../../../Resources/Scripts/plugins.min.js" type="text/javascript" defer="defer">
        </script>
        <script src="../../../../Resources/Scripts/MadCapAll.js" type="text/javascript" defer="defer">
        </script>
        <script>/* <![CDATA[ */
			document.title = "在目标中输入文档标题 - 模板 - 文档 | Cognex";
		/* ]]> */</script>
        <script type="text/javascript">/* <![CDATA[ */

					var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-145231719-1']); _gaq.push(['_trackPageview']); _gaq.push(['_setAccount', 'UA-1323229-6']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();

		/* ]]> */</script>
        <script src="../../../Global_Resources/Scripts/tabs.js" type="application/javascript">
        </script>
    </head>
    <body>
        <div class="foundation-wrap off-canvas-wrapper">
            <div class="off-canvas-wrapper-inner" data-off-canvas-wrapper="">
                <aside class="off-canvas position-right" role="navigation" id="offCanvas" data-off-canvas="" data-position="right" data-mc-ignore="true">
                    <ul class="off-canvas-accordion vertical menu off-canvas-list" data-accordion-menu="" data-mc-back-link="后退" data-mc-css-tree-node-expanded="is-accordion-submenu-parent" data-mc-css-tree-node-collapsed="is-accordion-submenu-parent" data-mc-css-sub-menu="vertical menu is-accordion-submenu nested" data-mc-include-indicator="False" data-mc-include-icon="False" data-mc-include-parent-link="True" data-mc-include-back="False" data-mc-defer-expand-event="True" data-mc-expand-event="click.zf.accordionMenu" data-mc-toc="True">
                    </ul>
                </aside>
                <div class="off-canvas-content inner-wrap" data-off-canvas-content="">
                    <div data-sticky-container="" class="title-bar-container">
                        <nav class="title-bar tab-bar sticky" role="banner" data-sticky="" data-options="marginTop:0" style="width:100%" data-sticky-on="only screen and (max-device-width: 1279px)" data-mc-ignore="true"><a class="skip-to-content fluid-skip showOnFocus" href="#">跳到主内容</a>
                            <div class="middle title-bar-section outer-row clearfix">
                                <div class="menu-icon-container relative clearfix">
                                    <div class="central-account-wrapper">
                                        <div class="central-dropdown"><a class="central-account-drop"><span class="central-account-image"></span><span class="central-account-text">帐户</span></a>
                                            <div class="central-dropdown-content"><a class="MCCentralLink central-dropdown-content-settings">设置</a>
                                                <hr class="central-separator" /><a class="MCCentralLink central-dropdown-content-logout">登出</a>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="menu-icon" aria-label="显示导航窗格" data-toggle="offCanvas"><span></span>
                                    </button>
                                </div>
                            </div>
                            <div class="title-bar-layout outer-row">
                                <div class="logo-wrapper"><a class="logo" href="../../GettingStarted/getstarted_ez.htm" alt="徽标"></a>
                                </div>
                                <div class="navigation-wrapper nocontent">
                                    <ul class="navigation clearfix" role="navigation" data-mc-css-tree-node-has-children="has-children" data-mc-css-sub-menu="sub-menu" data-mc-expand-event="mouseenter" data-mc-top-nav-menu="True" data-mc-max-depth="3" data-mc-include-icon="False" data-mc-include-indicator="False" data-mc-include-children="True" data-mc-include-siblings="True" data-mc-include-parent="True" data-mc-toc="True">
                                        <li class="placeholder" style="visibility:hidden"><a>placeholder</a>
                                        </li>
                                    </ul>
                                </div>
                                <div class="central-account-wrapper">
                                    <div class="central-dropdown"><a class="central-account-drop"><span class="central-account-image"></span><span class="central-account-text">帐户</span></a>
                                        <div class="central-dropdown-content"><a class="MCCentralLink central-dropdown-content-settings">设置</a>
                                            <hr class="central-separator" /><a class="MCCentralLink central-dropdown-content-logout">登出</a>
                                        </div>
                                    </div>
                                </div>
                                <div class="nav-search-wrapper">
                                    <div class="nav-search row">
                                        <form class="search" action="#">
                                            <div class="search-bar search-bar-container needs-pie">
                                                <input class="search-field needs-pie" type="search" aria-label="搜索框" placeholder="搜索" />
                                                <div class="search-filter-wrapper"><span class="invisible-label" id="search-filters-label">筛选器：</span>
                                                    <div class="search-filter" aria-haspopup="true" aria-controls="sf-content" aria-expanded="false" aria-label="搜索筛选器" title="所有文件" role="button" tabindex="0">
                                                    </div>
                                                    <div class="search-filter-content" id="sf-content">
                                                        <ul>
                                                            <li>
                                                                <button class="mc-dropdown-item" aria-labelledby="search-filters-label filterSelectorLabel-00001"><span id="filterSelectorLabel-00001">所有文件</span>
                                                                </button>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div class="search-submit-wrapper" dir="ltr">
                                                    <div class="search-submit" title="搜索" role="button" tabindex="0"><span class="invisible-label">提交搜索</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </nav>
                    </div>
                    <div class="main-section">
                        <div class="row outer-row sidenav-layout">
                            <nav class="sidenav-wrapper">
                                <div class="sidenav-container">
                                    <ul class="off-canvas-accordion vertical menu sidenav" data-accordion-menu="" data-mc-css-tree-node-expanded="is-accordion-submenu-parent" data-mc-css-tree-node-collapsed="is-accordion-submenu-parent" data-mc-css-sub-menu="vertical menu accordion-menu is-accordion-submenu nested" data-mc-include-indicator="False" data-mc-include-icon="False" data-mc-include-parent-link="False" data-mc-include-back="False" data-mc-defer-expand-event="True" data-mc-expand-event="click.zf.accordionMenu" data-mc-toc="True" data-mc-side-nav-menu="True">
                                    </ul>
                                </div>
                            </nav>
                            <div class="body-container">
                                <div data-mc-content-body="True">
                                    <div role="main" id="mc-main-content">
                                        <h1>模板</h1>
                                        <p>模板用于共享作业的组件。通过使用模板，您可以将作业的一部分、单个元素（例如单个<a href="../WebPages/webpage-elements.htm" class="MCXref xref">网页元素</a>或<a href="../../Spreadsheet/spreadsheet-celltemplates.htm">电子表格单元格</a>）或整个组件（例如整个<a href="../WebPages/webpage.htm" class="MCXref xref">网页</a>）导出到与作业无关的模板文件 (.cdtx) 中。然后您可以将此模板文件导入另一个作业，并在这个单独的作业中使用它包含的元素。</p>
                                        <p>默认情况下，应用程序有一个专用的<span class="pre">模板</span>目录，您可以在其中导出和存储自己的模板文件。应用程序启动时会自动加载存储在此目录中的所有模板文件。“模板”目录位于以下文件夹：</p>
                                        <p><span class="pre"> <i>&lt;X&gt;</i>:\Users\<i>&lt;UserName&gt;</i>\Documents\<span class="mc-variable is_3d.ExplorerName variable">In-Sight 视觉套件</span>\Templates</span>
                                        </p>
                                        <div class="Tip" data-mc-autonum="&lt;b&gt;提示&lt;/b&gt;： "><span class="autonumber"><span><b>提示</b>： </span></span>
                                            <p>使用<a href="../../IDE/Windows/template-browser.htm" class="MCXref xref">模板浏览器</a>显示和操作适配器中的可导入模板文件。您可以导入、删除和重命名现有模板，在 Windows 资源管理器中立即导航到它们的文件夹，或将它们组织到子文件夹中。有关详细信息，请参阅<a href="../../IDE/Windows/template-browser.htm" class="MCXref xref">模板浏览器</a>主题。</p>
                                            <p class="Image">
                                                <img src="../../../Images/templatebrowser_is.png" />
                                            </p>
                                        </div>
                                    </div>
                                    <hr class="footer" width="100%" size="0" align="center" />
                                    <p class="footer"><a href="../../../Global_Topics/BoilerPlate/LegalNotices.htm"> <span class="mc-variable Global/Global.Copyright variable">版权所有 © 2022</span> </a> &#160;|&#160; Cognex Corporation &#160;|&#160; 保留所有权利。</p>
                                    <p class="footer"><span class="mc-variable Global/Global.Title variable">在目标中输入文档标题</span> &#160;|&#160; <span class="mc-variable Global/Global.BuildDate variable">2022年07月25日</span> &#160;|&#160; <MadCap:snippetText src="../../../Global_Resources/Snippets/TC_Build.Number.flsnp" /></p>
                                </div>
                            </div>
                        </div>
                    </div><a data-close="true"></a>
                </div>
            </div>
        </div>
    </body>
</html>