
<!DOCTYPE html
  PUBLIC "html5" "about:legacy-compat">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2012"/>
<meta name="DC.rights.owner" content="(C) Copyright 2012"/>
<meta name="DC.Type" content="task"/>
<meta name="DC.Title" content="Defining Custom Import Profiles"/>
<meta name="abstract" content="You can define profiles with custom import options to use when importing CAD data. Import profiles are defined in XML file format."/>
<meta name="description" content="You can define profiles with custom import options to use when importing CAD data. Import profiles are defined in XML file format."/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="cps-t-ad-CustomImportProfiles-Define"/>
<meta name="DC.Language" content="en"/>
<link rel="stylesheet" type="text/css" href="../DSDocXML.css"/>
<title xmlns:mml="http://www.w3.org/1998/Math/MathML">Defining Custom Import Profiles</title>
<script xmlns:mml="http://www.w3.org/1998/Math/MathML" type="text/javascript" src="../DSDocHighlight.js">
  	/* */
  	</script></head>
<body onLoad="highlightSearchTerms();" id="cps-t-ad-CustomImportProfiles-Define">
<a xmlns:mml="http://www.w3.org/1998/Math/MathML" name="hj-top"> </a><table xmlns:mml="http://www.w3.org/1998/Math/MathML" class="table1" id="table11"><tr><td><table class="DocHeader"><tr><td class="DocHeader1" colspan="2"><h1>Defining Custom Import Profiles</h1></td></tr><tr><td class="DocHeader4" colspan="2"/></tr><tr><td class="DocHeader3" colspan="2"><table class="DocThemeIntro" id="table12"><tr><td class="Intro1Only"><p class="header"><p class="abstract"><span class="shortdesc"><span class="ph">You can define profiles with custom import options to use when importing CAD data.</span> Import profiles are defined in XML file format.</span>
<p>Notes:
    	<ul class="ul"><li class="li">The import options for CAD files are configured both for the active document and as document defaults in <span class="ph menucascade"><span class="ph uicontrol">File</span> &gt; <span class="ph uicontrol">Properties</span> &gt; <span class="ph uicontrol">(Default) Document Properties</span> &gt; <span class="ph uicontrol">Input</span></span>. It is on this <span class="ph uicontrol">Input</span> page that you can select which import profile to use when importing CAD data. See <a class="xref" href="cps-r-DocumentProperties-Input.htm#cps-r-DocumentProperties-Input" title="The Input page lets you configure the importing of CAD files.">Input</a>.</li>
<li class="li">To define custom import profiles, basic knowledge of XML is required.</li>
</ul>
</p>
 </p>

</p></td></tr></table></td></tr></table>

  

  
  
  <div class="body taskbody">
    
    <ol class="ol steps">
      <li class="stepexpand"><p class="li step">
        
          On your computer or network, browse
        to the folder containing import profiles.
        <p>This location is specified in the <span class="ph uicontrol">Data Paths</span> page of the <span class="ph uicontrol">Application Preferences</span> dialog box, under <span class="ph menucascade"><span class="ph uicontrol">CATIA Composer files</span> &gt; <span class="ph uicontrol">Import Profiles</span></span>. See <a class="xref" href="cps-c-cu-ApplicationPreferences-DataPaths.htm#cps-c-cu-ApplicationPreferences-DataPaths" title="Data paths are sorted lists of paths used to locate resources such as files, profiles, and links. The application uses data paths to resolve external references when the relative path of a resource cannot be found.">Data Paths</a>.</p>
      </p></li>

      <li class="stepexpand"><p class="li step">
        
          Copy the 
		XML file containing the profile that you want to use as basis, and paste it to a new file in the same folder.<p>
          For example, to customize the 3DXML import profile, copy and paste <span class="ph filepath">3DXML.xml</span>.
        </p>
      </p></li>

	  <li class="stepexpand"><p class="li step">
		Rename the file as required, <span class="ph filepath">3DXML_custom.xml</span> for example.
			
	   </p></li>

      <li class="stepexpand"><p class="li step">
        
          Open the file and edit it in the editor of your choice. A text editor is sufficient.
        <p><br/><img class="image" src="../CpsUserImages/CustomImportProfileXMLExample.png"/><br/></p>
        
      </p></li>

      <li class="stepexpand"><p class="li step">
        In the <samp class="ph codeph">Profile</samp> element, change the value of the <samp class="ph codeph">Name</samp>
        attribute to <samp class="ph codeph">3DXML_custom</samp>, for example.
        <p><p>Note:
		This name will appear as  the profile's name in the <span class="ph uicontrol">Import profile</span> box of the <span class="ph uicontrol">Input</span> page.</p>
</p>
      </p></li>

      <li class="stepexpand"><p class="li step">
        
          In the <samp class="ph codeph">PropSet</samp> list:
      <ol type="a" class="ol substeps"><li class="li substep">For all elements (except <samp class="ph codeph">OverloadedActorPropertyName</samp>), change the values of the attributes as required, where:<p><ul class="ul"><li class="li"><samp class="ph codeph">Value="0"</samp> means that the option should not be selected by default in the <span class="ph uicontrol">Input</span> page.</li>
<li class="li"><samp class="ph codeph">Value="1"</samp> means that the option should be selected by default.</li>
</ul>
</p></li>
<li class="li substep">For the <samp class="ph codeph">ImportPMIsOverrideColor</samp> element, also enter RGB values to use for the color of imported PMI.</li>
<li class="li substep">For the <samp class="ph codeph">OverloadedActorPropertyName</samp> element, change the value of the
        attribute to the name that should be appended to imported meta-properties, when overloading actor names in the assembly tree.</li>
</ol>
</p></li>
<li class="stepexpand"><p class="li step">Save the XML file.</p></li>
<li class="stepexpand"><p class="li step">To test the import options, select <span class="ph menucascade"><span class="ph uicontrol">File</span> &gt; <span class="ph uicontrol">Properties</span> &gt; <span class="ph uicontrol">(Default) Document Properties</span> &gt; <span class="ph uicontrol">Input</span></span>, and in the <span class="ph uicontrol">Import profile</span> box, select the import profile, <span class="ph uicontrol">3DXML_custom</span>, for example.</p></li>

    </ol>

    
  </div>


  

</td></tr></table><script xmlns:mml="http://www.w3.org/1998/Math/MathML" type="text/javascript" src="../DSDocStats.js">/* */</script></body>
</html>