<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Edit row parameters of iPart using iLogic while in assembly in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/edit-row-parameters-of-ipart-using-ilogic-while-in-assembly/m-p/12804335#M9710</link>
    <description>&lt;P&gt;How do I edit the values in an iPart table I have placed in an assembly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Components&lt;/SPAN&gt;.&lt;SPAN&gt;AddiPart&lt;/SPAN&gt;(&lt;SPAN&gt;"b:1"&lt;/SPAN&gt;, &lt;SPAN&gt;"C:\VaultWS\generic_file_path\TestShape.ipt"&lt;/SPAN&gt;, &lt;SPAN&gt;findRow&lt;/SPAN&gt; := {&lt;SPAN&gt;"L"&lt;/SPAN&gt;, 10 }, &lt;SPAN&gt;position&lt;/SPAN&gt; := &lt;SPAN&gt;Nothing&lt;/SPAN&gt;, &lt;SPAN&gt;grounded&lt;/SPAN&gt; := &lt;SPAN&gt;False&lt;/SPAN&gt;, &lt;SPAN&gt;visible&lt;/SPAN&gt; := &lt;SPAN&gt;True&lt;/SPAN&gt;, &lt;SPAN&gt;appearance&lt;/SPAN&gt; := &lt;SPAN&gt;Nothing&lt;/SPAN&gt;)
&lt;SPAN&gt;'component b:1, edit the current rows value of L = 11&lt;/SPAN&gt;
&lt;SPAN&gt;'save changes&lt;/SPAN&gt;
&lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have simplified what I'm doing. But for context I am creating an assembly template that prompts the user with a series of inputs for a component, and if it it exists it places that iPart, and if it doesn't exist it copies the row and enters users parameters in the new row before placing the new part. I am stuck on the part where it changes the parameters in the row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harvey&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 09:09:00 GMT</pubDate>
    <dc:creator>harvey_craig2RCUH</dc:creator>
    <dc:date>2024-05-29T09:09:00Z</dc:date>
    <item>
      <title>Edit row parameters of iPart using iLogic while in assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/edit-row-parameters-of-ipart-using-ilogic-while-in-assembly/m-p/12804335#M9710</link>
      <description>&lt;P&gt;How do I edit the values in an iPart table I have placed in an assembly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Components&lt;/SPAN&gt;.&lt;SPAN&gt;AddiPart&lt;/SPAN&gt;(&lt;SPAN&gt;"b:1"&lt;/SPAN&gt;, &lt;SPAN&gt;"C:\VaultWS\generic_file_path\TestShape.ipt"&lt;/SPAN&gt;, &lt;SPAN&gt;findRow&lt;/SPAN&gt; := {&lt;SPAN&gt;"L"&lt;/SPAN&gt;, 10 }, &lt;SPAN&gt;position&lt;/SPAN&gt; := &lt;SPAN&gt;Nothing&lt;/SPAN&gt;, &lt;SPAN&gt;grounded&lt;/SPAN&gt; := &lt;SPAN&gt;False&lt;/SPAN&gt;, &lt;SPAN&gt;visible&lt;/SPAN&gt; := &lt;SPAN&gt;True&lt;/SPAN&gt;, &lt;SPAN&gt;appearance&lt;/SPAN&gt; := &lt;SPAN&gt;Nothing&lt;/SPAN&gt;)
&lt;SPAN&gt;'component b:1, edit the current rows value of L = 11&lt;/SPAN&gt;
&lt;SPAN&gt;'save changes&lt;/SPAN&gt;
&lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have simplified what I'm doing. But for context I am creating an assembly template that prompts the user with a series of inputs for a component, and if it it exists it places that iPart, and if it doesn't exist it copies the row and enters users parameters in the new row before placing the new part. I am stuck on the part where it changes the parameters in the row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harvey&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 09:09:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/edit-row-parameters-of-ipart-using-ilogic-while-in-assembly/m-p/12804335#M9710</guid>
      <dc:creator>harvey_craig2RCUH</dc:creator>
      <dc:date>2024-05-29T09:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Edit row parameters of iPart using iLogic while in assembly</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/edit-row-parameters-of-ipart-using-ilogic-while-in-assembly/m-p/12805135#M9711</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14967915"&gt;@harvey_craig2RCUH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the factory file located in the workspace or in a library location? If library then the file will be read only. &lt;A href="https://adndevblog.typepad.com/manufacturing/2013/02/manipulate-rows-and-columns-of-ipart-1.html" target="_blank" rel="noopener"&gt;Here is an article to directly edit the factory file. Written in VBA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And a handy way to add a row is to &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=iPartTableRow_Copy" target="_blank" rel="noopener"&gt;copy another row&lt;/A&gt; and start to edit its value. In fact without using the edit excel method there isn't another way.&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;iPartTableRow.&lt;/SPAN&gt;&lt;STRONG&gt;Copy&lt;/STRONG&gt;&lt;SPAN&gt;( [&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;NewMemberName&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;] As String ) As&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=iPartTableRow" target="_blank" rel="noopener"&gt;iPartTableRow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 14:33:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/edit-row-parameters-of-ipart-using-ilogic-while-in-assembly/m-p/12805135#M9711</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2024-05-29T14:33:34Z</dc:date>
    </item>
  </channel>
</rss>

