<?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 Footprint Window</title>
  <link>https://www.PCBLibraries.com/forum/</link>
  <description><![CDATA[This is an XML content feed of; PCB Libraries Forum : Product Suggestions : Create Footprint Window]]></description>
  <pubDate>Sun, 05 Apr 2026 15:34:03 +0000</pubDate>
  <lastBuildDate>Fri, 27 Feb 2015 06:48:34 +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=1453</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 Footprint Window :  Thank you very much for your...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6449.html#6449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=3">Tom H</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 27 Feb 2015 at 6:48am<br /><br />Thank you very much for your offer. <div>&nbsp;</div><div>We should know some time soon if we can negotiate with Altium an upgrade to V14 &amp; V15. </div><div>&nbsp;</div><div>We'll keep this thread alive and get back to you as soon as we're ready. </div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 27 Feb 2015 06:48:34 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6449.html#6449</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window : I understand this complete. The...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6447.html#6447</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=870">robmeyer</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 27 Feb 2015 at 6:44am<br /><br />I understand this complete. <br><br>The only question on this topic was if you want to go on and pay time on this. Then I could help a little bit.<br>]]>
   </description>
   <pubDate>Fri, 27 Feb 2015 06:44:21 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6447.html#6447</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window :  Robert, We can do anything,...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6443.html#6443</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=3">Tom H</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 27 Feb 2015 at 6:24am<br /><br />Robert, <div>&nbsp;</div><div>We can do anything, but we are not on Altium yearly maintenance and we do not have V14 or V15 of Altium. </div><div>&nbsp;</div><div>We're trying to negotiate a deal with Altium to get a couple of new licenses, but we only need the Library Features. We do not do PCB design work in Altium so we don't need part placement, rules, routing, Out Job, etc. So we're not going to pay $10K per seat for features we'll never use.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 27 Feb 2015 06:24:32 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6443.html#6443</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window : I found something, but it is not...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6440.html#6440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=870">robmeyer</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 27 Feb 2015 at 5:40am<br /><br />I found something, but it is not really nice. You could use something like:<br><table width="99%"><tr><td><pre class="BBcode"><br>{procedure ReadStringFromIniFile read settings from the ini-file.....................}<br>function ReadStringFromIniFile(Section,Name:String,FilePath:String,IfEmpty:String):String;<br>var<br>&nbsp; IniFile&nbsp;&nbsp;&nbsp;&nbsp; : TIniFile;<br>begin<br>&nbsp;&nbsp;&nbsp;&nbsp; result := IfEmpty;<br>&nbsp;&nbsp;&nbsp;&nbsp; if FileExists(FilePath) then<br>&nbsp;&nbsp;&nbsp;&nbsp; begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IniFile := TIniFile.Create(FilePath);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Result := IniFile.ReadString(Section,Name,IfEmpty);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; finally<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Inifile.Free;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<br>&nbsp;&nbsp;&nbsp;&nbsp; end;<br><br>&nbsp;end;&nbsp; {ReadFromIniFile end....................................................}<br><br>Procedure MechLayer;<br>Var<br>&nbsp;&nbsp;&nbsp; Board&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : IPCB_Board;<br>&nbsp;&nbsp;&nbsp; MajorADVersion : Integer;<br><br>Begin<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Board := PCBServer.GetCurrentPCBBoard;<br><br>&nbsp;&nbsp;&nbsp;&nbsp; //Check AD version for layer stack version<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MajorADVersion := StrToInt(Copy((ReadStringFromIniFile('Preference Location','Build',SpecialFolder_AltiumSystem+'\PrefFolder.ini','14')),0,2));<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp; if MajorADVersion &gt;= 14 then<br>&nbsp;&nbsp;&nbsp;&nbsp; begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Board.LayerStack_V7.LayerObject_V7(ILayer.MechanicalLayer(17)).SetState_MechLayerEnabled := true;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Board.LayerStack_V7.LayerObject_V7(ILayer.MechanicalLayer(17)).IsDisplayed&#091;Board&#093; := true;<br>&nbsp;&nbsp;&nbsp;&nbsp; end;<br><br>&nbsp;&nbsp;&nbsp;&nbsp; if MajorADVersion &lt; 14 then<br>&nbsp;&nbsp;&nbsp;&nbsp; begin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Board.LayerStack.LayerObject_V7(ILayer.MechanicalLayer(17)).SetState_MechLayerEnabled := true;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Board.LayerStack.LayerObject_V7(ILayer.MechanicalLayer(17)).IsDisplayed&#091;Board&#093; := true;<br>&nbsp;&nbsp;&nbsp;&nbsp; end;<br></pre></td></tr></table><br><br>Maybe you have a good idea how to combine LayerStack and LayerStack_V7. All other things are the same. Then the next problem would be how to place Tracks on these Layers. I think it is to much affort to get this work, for a small usergroup. <br><br>If you want to continue I will do what I can.<br><br>Robert<br>]]>
   </description>
   <pubDate>Fri, 27 Feb 2015 05:40:50 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6440.html#6440</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window :  So basically, to do it it needs...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6435.html#6435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=532">chrisa_pcb</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 26 Feb 2015 at 1:18pm<br /><br />So basically, to do it it needs to use functionality only found in the latest version of the tool? Not a big fan of that, particularly given I have nothing to test it with.]]>
   </description>
   <pubDate>Thu, 26 Feb 2015 13:18:21 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6435.html#6435</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window : In AD13 the V7 API is not implemented....]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6434.html#6434</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=870">robmeyer</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 26 Feb 2015 at 12:39pm<br /><br />In AD13 the V7 API is not implemented. It is available since AD14. Could be that it also work with Stack := Board.LayerStack;]]>
   </description>
   <pubDate>Thu, 26 Feb 2015 12:39:39 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6434.html#6434</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window :  Stack := Board.LayerStack_V7;Iget...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6432.html#6432</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=532">chrisa_pcb</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 26 Feb 2015 at 12:21pm<br /><br />Stack := Board.LayerStack_V7;<div></div><div></div><div>I&nbsp;get an undeclared identifier for LayerStack_V7 when I go to run. It simply doesn't recognize it as a property of board. Which version of Altium are you using? I'm currently using v13.3. Is this functionality that was added in a more current version of Altium?</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 26 Feb 2015 12:21:01 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6432.html#6432</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window :   robmeyer wrote:This LayerObject...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6430.html#6430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=532">chrisa_pcb</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 26 Feb 2015 at 10:46am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by robmeyer" alt="Originally posted by robmeyer" style="vertical-align: text-bottom;" /> <strong>robmeyer wrote:</strong><br /><br />This LayerObject things are taken from the attached script. This script is used to manipulate the Designator on the Layer you want.<br><a href="uploads/870/AdjustDesignators2.zip" target="_blank" rel="nofollow">uploads/870/AdjustDesignators2.zip</a><br><br>With this code inserted in your produced script, I could enable and show MechLayer17:<br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp; Stack&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : IPCB_LayerStack_V7;<br>&nbsp;&nbsp; Board&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : IPCB_Board;<br><br>Begin<br>&nbsp;&nbsp;&nbsp; NewPCBLibComp := PCBServer.CreatePCBLibComp;<br>&nbsp;&nbsp;&nbsp; NewPcbLibComp.Name := 'RESCAXS50P200X100X55-8L';<br>&nbsp;&nbsp;&nbsp; NewPCBLibComp.Description := 'Chip Array, 2 Side Convex, 0.50 mm pitch;8 pin,2.00 mm L X 1.00 mm W X 0.55 mm H body';<br>&nbsp;&nbsp;&nbsp; NewPCBLibComp.Height := MMsToCoord(0.55);<br>&nbsp;&nbsp;&nbsp;&nbsp; Board := PCBServer.GetCurrentPCBBoard;<br>&nbsp;&nbsp;&nbsp;&nbsp; Stack := Board.LayerStack_V7;<br><br>&nbsp;&nbsp;&nbsp; Stack.LayerObject_V7(ILayer.MechanicalLayer(17)).SetState_MechLayerEnabled := true;<br>&nbsp;&nbsp;&nbsp; Stack.LayerObject_V7(ILayer.MechanicalLayer(17)).IsDisplayed&#091;Board&#093; := true;<br>&nbsp;&nbsp;&nbsp; Board.ViewManager_FullUpdate;<br>&nbsp;&nbsp;&nbsp; Board.ViewManager_UpdateLayerTabs;</pre></td></tr></table><br><br>Now is "only" the question how to draw on this layer.<br><br>Did you have Altium installed to get these things tested?<br></td></tr></table><div>&nbsp;</div><div>I do have Altium installed, yes. Thanks for expanding on this.. I'll test your stuff and see about implementing it.</div>]]>
   </description>
   <pubDate>Thu, 26 Feb 2015 10:46:37 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6430.html#6430</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window : This LayerObject things are taken...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6422.html#6422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=870">robmeyer</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 26 Feb 2015 at 2:24am<br /><br />This LayerObject things are taken from the attached script. This script is used to manipulate the Designator on the Layer you want.<br><a href="uploads/870/AdjustDesignators2.zip" target="_blank" rel="nofollow">uploads/870/AdjustDesignators2.zip</a><br><br>With this code inserted in your produced script, I could enable and show MechLayer17:<br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp; Stack&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : IPCB_LayerStack_V7;<br>&nbsp;&nbsp; Board&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : IPCB_Board;<br><br>Begin<br>&nbsp;&nbsp;&nbsp; NewPCBLibComp := PCBServer.CreatePCBLibComp;<br>&nbsp;&nbsp;&nbsp; NewPcbLibComp.Name := 'RESCAXS50P200X100X55-8L';<br>&nbsp;&nbsp;&nbsp; NewPCBLibComp.Description := 'Chip Array, 2 Side Convex, 0.50 mm pitch;8 pin,2.00 mm L X 1.00 mm W X 0.55 mm H body';<br>&nbsp;&nbsp;&nbsp; NewPCBLibComp.Height := MMsToCoord(0.55);<br>&nbsp;&nbsp;&nbsp;&nbsp; Board := PCBServer.GetCurrentPCBBoard;<br>&nbsp;&nbsp;&nbsp;&nbsp; Stack := Board.LayerStack_V7;<br><br>&nbsp;&nbsp;&nbsp; Stack.LayerObject_V7(ILayer.MechanicalLayer(17)).SetState_MechLayerEnabled := true;<br>&nbsp;&nbsp;&nbsp; Stack.LayerObject_V7(ILayer.MechanicalLayer(17)).IsDisplayed&#091;Board&#093; := true;<br>&nbsp;&nbsp;&nbsp; Board.ViewManager_FullUpdate;<br>&nbsp;&nbsp;&nbsp; Board.ViewManager_UpdateLayerTabs;</pre></td></tr></table><br><br>Now is "only" the question how to draw on this layer.<br><br>Did you have Altium installed to get these things tested?<br>]]>
   </description>
   <pubDate>Thu, 26 Feb 2015 02:24:08 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6422.html#6422</guid>
  </item> 
  <item>
   <title><![CDATA[Create Footprint Window :   robmeyer wrote:If you use in...]]></title>
   <link>https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6418.html#6418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.PCBLibraries.com/forum/member_profile.asp?PF=532">chrisa_pcb</a><br /><strong>Subject:</strong> 1453<br /><strong>Posted:</strong> 25 Feb 2015 at 12:53pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by robmeyer" alt="Originally posted by robmeyer" style="vertical-align: text-bottom;" /> <strong>robmeyer wrote:</strong><br /><br />If you use in your scripts this: Board.LayerStack_V7.LayerObject_V7&#091;ILayer.MechanicalLayer(i)&#093; <br>You can work with all Layers from 1 to 32 in AD14 and later.<br></td></tr></table><div>&nbsp;</div><div>Does that return a TLayer object which is then provided to the .Layer of the element being built? I assume the proper terminology from our script would be:</div><div>&nbsp;</div><div>CurrentLib.Board.LayerStack_V7.LayerObject_V7&#091;ILayer.MechanicalLayer(i)&#093;</div><div>&nbsp;</div><div>as a .Board only exists within CurrentLib.</div><div>&nbsp;</div><div>Edit: I tried manual editing to set a track layer per your setup and it doesn't recognize a LayerStack_V7 property.</div>]]>
   </description>
   <pubDate>Wed, 25 Feb 2015 12:53:37 +0000</pubDate>
   <guid isPermaLink="true">https://www.PCBLibraries.com/forum/create-footprint-window_topic1453_post6418.html#6418</guid>
  </item> 
 </channel>
</rss>