<?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 Re: Mirrored Sheet Metal Parts in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362639#M141441</link>
    <description>&lt;P&gt;It might be giving an error because the value is to long. Try a rounding function&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extents_length&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = Round(&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength, 3)&lt;BR /&gt;'or&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;roundedClosest&lt;/SPAN&gt; = &lt;SPAN&gt;Round&lt;/SPAN&gt;(&lt;SPAN&gt;Round&lt;/SPAN&gt;(&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength&lt;/SPAN&gt;,4) / 0.0625) * 0.0625 &amp;amp; &lt;SPAN&gt;" in"&lt;/SPAN&gt;
&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;roundedClosest&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 Aug 2022 17:27:16 GMT</pubDate>
    <dc:creator>dalton98</dc:creator>
    <dc:date>2022-08-16T17:27:16Z</dc:date>
    <item>
      <title>Mirrored Sheet Metal Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362445#M141434</link>
      <description>&lt;P&gt;Good day Everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sheet metal template in inventor where in I have linked the bounding box of the flat pattern to my custom iproperties. I also have linked this iproperty with the parts list template for the width and height. Now my issue is I have a mirrored part of the same thing and the properties for the flat pattern differs on the iproperty and its giving me BOM errors. The original part was measured with a height of 58.047431006501 and the mirrored part&amp;nbsp;as measured with a height of 58.047431006501&lt;STRONG&gt;&lt;U&gt;2.&lt;/U&gt;&lt;/STRONG&gt; It was a difference of 0.xxx-xxxxxxxx&lt;STRONG&gt;&lt;U&gt;2!&lt;/U&gt;&lt;/STRONG&gt; -_-&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 15:47:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362445#M141434</guid>
      <dc:creator>AnthonyB7</dc:creator>
      <dc:date>2022-08-16T15:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Sheet Metal Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362639#M141441</link>
      <description>&lt;P&gt;It might be giving an error because the value is to long. Try a rounding function&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extents_length&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = Round(&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength, 3)&lt;BR /&gt;'or&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;roundedClosest&lt;/SPAN&gt; = &lt;SPAN&gt;Round&lt;/SPAN&gt;(&lt;SPAN&gt;Round&lt;/SPAN&gt;(&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength&lt;/SPAN&gt;,4) / 0.0625) * 0.0625 &amp;amp; &lt;SPAN&gt;" in"&lt;/SPAN&gt;
&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;roundedClosest&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Aug 2022 17:27:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362639#M141441</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-08-16T17:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Sheet Metal Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362686#M141445</link>
      <description>Thank you for the reply. Where do I add this code Dalton?</description>
      <pubDate>Tue, 16 Aug 2022 17:50:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362686#M141445</guid>
      <dc:creator>AnthonyB7</dc:creator>
      <dc:date>2022-08-16T17:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Sheet Metal Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362734#M141447</link>
      <description>&lt;P&gt;Replace the extent string values in your other code&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extents_length&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extents_width&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;with&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extents_length&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = Round(&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsLength, 3)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extents_width&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = Round(&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;FlatExtentsWidth, 3)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 18:05:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362734#M141447</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-08-16T18:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Sheet Metal Parts</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362747#M141448</link>
      <description>Thank you Dalton, This works way better now. Thank you again.</description>
      <pubDate>Tue, 16 Aug 2022 18:13:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/mirrored-sheet-metal-parts/m-p/11362747#M141448</guid>
      <dc:creator>AnthonyB7</dc:creator>
      <dc:date>2022-08-16T18:13:47Z</dc:date>
    </item>
  </channel>
</rss>

