<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "en"><head><meta charset = "UTF-8"/><meta name = "copyright" content = "(C) Copyright 2020"/><meta name = "DC.rights.owner" content = "(C) Copyright 2020"/><meta name = "DC.type" content = "task"/><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 = "HTML5"/><meta name = "DC.identifier" content = "cps-t-ad-CustomImportProfiles-Define"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Defining Custom Import Profiles</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "cps-t-ad-CustomImportProfiles-Define">
<a name = "hj-top"> </a><table 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>
<div class = "notes collapse"><span class = "run-in.notes">Notes:
    		</span><span class = "notecontent"><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><abbr title = "and then"> &gt; </abbr><span class = "ph uicontrol">Properties</span><abbr title = "and then"> &gt; </abbr><span class = "ph uicontrol">(Default) Document Properties</span><abbr title = "and then"> &gt; </abbr><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></span></div>
 </p>

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

  
  
  <div class = "body taskbody">
    
    <section><ol class = "ol steps"><li class = "li step stepexpand">
        
          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><abbr title = "and then"> &gt; </abbr><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>
      </li><li class = "li step stepexpand">
        
          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 filepath">3DXML.xml</span>.
        </p>
      </li><li class = "li step stepexpand">
		Rename the file as required, <span class = "ph filepath filepath">3DXML_custom.xml</span> for example.
			
	   </li><li class = "li step stepexpand">
        
          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>
        
      </li><li class = "li step stepexpand">
        In the <code class = "ph codeph">Profile</code> element, change the value of the <code class = "ph codeph">Name</code>
        attribute to <code class = "ph codeph">3DXML_custom</code>, for example.
        <p><div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">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.</span></div>
</p>
      </li><li class = "li step stepexpand">
        
          In the <code class = "ph codeph">PropSet</code> list:
      <ol type = "a" class = "ol substeps"><li class = "li substep">For all elements (except <code class = "ph codeph">OverloadedActorPropertyName</code>), change the values of the attributes as required, where:<p><ul class = "ul"><li class = "li"><code class = "ph codeph">Value="0"</code> means that the option should not be selected by default in the <span class = "ph uicontrol">Input</span> page.</li><li class = "li"><code class = "ph codeph">Value="1"</code> means that the option should be selected by default.</li></ul></p></li><li class = "li substep">For the <code class = "ph codeph">ImportPMIsOverrideColor</code> element, also enter RGB values to use for the color of imported PMI.</li><li class = "li substep">For the <code class = "ph codeph">OverloadedActorPropertyName</code> 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></li><li class = "li step stepexpand">Save the XML file.</li><li class = "li step stepexpand">To test the import options, select <span class = "ph menucascade"><span class = "ph uicontrol">File</span><abbr title = "and then"> &gt; </abbr><span class = "ph uicontrol">Properties</span><abbr title = "and then"> &gt; </abbr><span class = "ph uicontrol">(Default) Document Properties</span><abbr title = "and then"> &gt; </abbr><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.</li></ol></section>
    
  </div>


  
</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
