<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>PCB Libraries Forum : Create Component Layers with Layer Type</title>
  <link>https://www.PCBLibraries.com/forum/</link>
  <description><![CDATA[This is an XML content feed of; PCB Libraries Forum : Altium : Create Component Layers with Layer Type]]></description>
  <pubDate>Thu, 16 Jul 2026 22:24:54 +0000</pubDate>
  <lastBuildDate>Thu, 13 Nov 2025 01:09:22 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.PCBLibraries.com/forum/RSS_post_feed.asp?TID=3575</WebWizForums:feedURL>
  <image>
   <title><![CDATA[PCB Libraries Forum]]></title>
   <url>https://www.PCBLibraries.com/forum/forum_images/PCBLForumLogo.gif</url>
   <link>https://www.PCBLibraries.com/forum/</link>
  </image>
  <item>
   <title><![CDATA[Create Component Layers with Layer Type : Hi,at the moment i am modifying...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-component-layers-with-layer-type_topic3575_post14314.html#14314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=19326">mwachs</a><br /><strong>Subject:</strong> 3575<br /><strong>Posted:</strong> 13 Nov 2025 at 1:09am<br /><br />Hi,<div><br></div><div>at the moment i am modifying the *.pas file from the export to add the component layer:</div><div><br></div><div><font face="Courier New, Courier, mono"><span style="color: rgb79, 79, 79; font-size: 13.3333px;">LayerPairs.AddPair(ILayer.MechanicalLayer(17),ILayer.MechanicalLayer(18));</span><br style="line-height: 20px; color: rgb79, 79, 79; font-size: 13.3333px;"><span style="color: rgb79, 79, 79; font-size: 13.3333px;">LayerPairs.AddPair(ILayer.MechanicalLayer(19),ILayer.MechanicalLayer(20));</span><br style="line-height: 20px; color: rgb79, 79, 79; font-size: 13.3333px;"><span style="color: rgb79, 79, 79; font-size: 13.3333px;">LayerPairs.AddPair(ILayer.MechanicalLayer(21),ILayer.MechanicalLayer(22));</span><br style="line-height: 20px; color: rgb79, 79, 79; font-size: 13.3333px;"><span style="color: rgb79, 79, 79; font-size: 13.3333px;">LayerPairs.AddPair(eMechanical11,eMechanical12);</span><br style="line-height: 20px; color: rgb79, 79, 79; font-size: 13.3333px;"><span style="color: rgb79, 79, 79; font-size: 13.3333px;">LayerPairs.AddPair(eMechanical13,eMechanical14);</span><br style="line-height: 20px; color: rgb79, 79, 79; font-size: 13.3333px;"><span style="color: rgb79, 79, 79; font-size: 13.3333px;">LayerPairs.AddPair(eMechanical15,eMechanical16);</span></font></div><div><span style="color: rgb79, 79, 79; font-size: 13.3333px;"><font face="Courier New, Courier, mono"><br></font></span></div><div>In Altium it looks like this:</div><div><img src="uploads/19326/Screenshot_20251022_145225.png" height="244" width="872" border="0" /><br></div><div><br></div><div>And in the edit:</div><div><img src="uploads/19326/Screenshot_20251022_145400.png" height="277" width="558" border="0" /><br></div><div><br></div><div>How can i modify my code so it will just do the correct assignment:</div><div><img src="uploads/19326/Screenshot_20251022_145548.png" height="286" width="574" border="0" /><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Marian</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 13 Nov 2025 01:09:22 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-component-layers-with-layer-type_topic3575_post14314.html#14314</guid>
  </item> 
 </channel>
</rss>