<?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 Betreff: iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8449437#M92123</link>
    <description>&lt;P&gt;Thank you very much for the support..i finally set parameters to my sketch and it works perfect...i did as you proposed i 3d mode...now i am going to write the cam files for my cnc machine. i have one more question i am using this code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option Explicit&lt;BR /&gt;&lt;BR /&gt;Sub WriteFile()&lt;BR /&gt;&lt;BR /&gt;Dim Doc As Document&lt;BR /&gt;Set Doc = ThisApplication.ActiveDocument&lt;BR /&gt;&lt;BR /&gt;Dim oParam As Parameters&lt;BR /&gt;Set oParam = ThisApplication.ActiveDocument.ComponentDefinition.Parameters&lt;BR /&gt;&lt;BR /&gt;Dim UserParams As UserParameters&lt;BR /&gt;Set UserParams = oParam.UserParameters&lt;BR /&gt;&lt;BR /&gt;Dim oLength As Parameters&lt;BR /&gt;Set oLength = oParam.UserParameters(Length)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Open "C:\Users\tso\Desktop\test.txt" For Output As #1 'Open file for output&lt;BR /&gt;&lt;BR /&gt;Write #1, oParam.UserParameters = Length&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Close #1 'Close file&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But as you imagine doesn't work..so i want to ask you how can i call the length value in my vba editor?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 10:44:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-06T10:44:53Z</dc:date>
    <item>
      <title>iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404092#M91448</link>
      <description>&lt;P&gt;Hi my name is George and i am new with inventor.&lt;/P&gt;&lt;P&gt;i am trying to set parameters to a sketch in 2d which we use it in deffernts dimensions where i work.the problem is tha when i choose the smaller part where some holes should disapear i have this part&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-11-15.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/569953iFD97C8B80A571CD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-11-15.png" alt="2018-11-15.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Through i logic a have make this holes "false" but istead it makes them "0&amp;nbsp; '' and this two dimension appears&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 13:51:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404092#M91448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T13:51:32Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404169#M91450</link>
      <description>&lt;P&gt;Hello @Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please can you provide your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 14:20:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404169#M91450</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2018-11-15T14:20:06Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404206#M91453</link>
      <description>&lt;P&gt;This is the rule i use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;If Width=66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=2442 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=372&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=600&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=321&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b=549&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=2289 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=397&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=600&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=244.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b=447.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=2136 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=371.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=600&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=219&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b=396.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1983 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=391.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=600&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=391.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1830 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=366&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=600&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=315&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1677 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=340.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=498&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=340.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1524 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=363.8&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a=2&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a=549&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=214.6&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1371 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=385.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=385.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1218 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=360&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=309&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=1065 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=283.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=283.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=912 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=308.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b=207&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=759 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=379.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=606 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=303&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=504 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=252&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=453 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=226.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=402 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=201&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ElseIf Length=359 And Width&amp;lt;&amp;gt;66 Then&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7a=179.5&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7a=7&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7a= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;dim7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;circle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;numcircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;discircle7b= False&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;End If&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;Thank you for your time&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 14:31:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404206#M91453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404854#M91460</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;, it appears to me like you're trying to sketch your part like you would in AutoCAD, and have your iLogic control your sketch by turning the "holes" (sketched circles) on and off. Is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, you'll be much better off extruding your part into a 3D solid, and using the Hole and Pattern tools to make the holes. Then you can use the iLogic to suppress the Hole features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;iLogic can automate sketches but it's much more complicated, and isn't necessary in this case. Pretty much the only time you should need to use iLogic to control a sketch is when you're using iLogic to create a part from scratch, such as for a configurator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;90% of the time, you'll be using iLogic to control parameters (dimensions), and the suppression of 3D features. There's no need to suppress or create 2D sketch features like circles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 19:05:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404854#M91460</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2018-11-15T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404951#M91461</link>
      <description>&lt;P&gt;I'm not sure what version of Inventor you have, but if you have 2017 or newer, you can take a look at the attached example part that demonstrates how to use iLogic to control the number/suppression of holes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you open the part, it should open a control form. Drag the slider back and forth to see it adjust the number of holes and their spacing. Below 1000 mm, it suppresses them altogether.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 19:37:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8404951#M91461</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2018-11-15T19:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8405868#M91475</link>
      <description>&lt;P&gt;Ok..I see what you propose and i will try it in 3d...but the reason i want to set paramters to this piece is because i am a cnc programmeran and i want to make all the cam programs through inventor vba.if i made the part 3d you think it will be a problem???&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 07:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8405868#M91475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-16T07:54:29Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8407595#M91518</link>
      <description>&lt;P&gt;FYI, when you say&lt;/P&gt;&lt;P&gt;dim7a=False, you are telling Inventor to use the Boolean True\False.&amp;nbsp; It sees that the value needs a numeric (double) so it automatically converts the Boolean to its bit (tiny integer) value 0,1, then stores the False equivalent (0) to your variable.&amp;nbsp; Turning it to 0 does not remove it, as you can tell.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DRoam is right, there are easier methods from the 3D modeling environment.&amp;nbsp; To address the 3D issue, you could model it in 3D and then project the modeled geometry back to a single 2D sketch (like a completed view/flat pattern) that you update and use for your CNC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, with iLogic (better to use VB.Net, with Visual Studio at this level) and a LOT more setup and coding, you can create a sketch with holes, then add attributes to the circles (via code), then save that sketch for reuse as a template, where you can find the circles that have your tagged attributes and delete them via code (or set construction).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another method using all parameters is to create a pattern in a sketch.&amp;nbsp; Component patterns (arrays) can take a single item (like your hole circle) and make it many (square or circlular).&amp;nbsp; The neat part is the pattern's count is a parameter you can label, find and edit.&amp;nbsp; The bad part is there must at least be 1 or it will not work.&amp;nbsp; Also you could use the parameter of the pattern to chase the sketch objects back to the original circle and set its construction mode on/off as you need.&amp;nbsp; If you dimensioned the first hole's position, you could chase that back to the circle too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible, yes.&amp;nbsp; Do you want to work that hard?&amp;nbsp; The journey definitely becomes its own reward when you gain the tools and skills to knock out problems like these in a flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 22:24:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8407595#M91518</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2018-11-16T22:24:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8408797#M91526</link>
      <description>&lt;P&gt;Actually I have no choice if am gonna do it...its my exercise for my degree so in a way i am force to... but also is something tha will help me very much in my work.&lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://forums.autodesk.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for the immediate answers an the interest&amp;nbsp; you show in my problem.... i will try your solution and i will inform you if its ok or i will post here for more answers(please help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there something in here or maybe a video in youtube that would it help me to understand better the ilogic logic??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very very much&lt;/P&gt;</description>
      <pubDate>Sun, 18 Nov 2018 09:03:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8408797#M91526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-18T09:03:59Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8449437#M92123</link>
      <description>&lt;P&gt;Thank you very much for the support..i finally set parameters to my sketch and it works perfect...i did as you proposed i 3d mode...now i am going to write the cam files for my cnc machine. i have one more question i am using this code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option Explicit&lt;BR /&gt;&lt;BR /&gt;Sub WriteFile()&lt;BR /&gt;&lt;BR /&gt;Dim Doc As Document&lt;BR /&gt;Set Doc = ThisApplication.ActiveDocument&lt;BR /&gt;&lt;BR /&gt;Dim oParam As Parameters&lt;BR /&gt;Set oParam = ThisApplication.ActiveDocument.ComponentDefinition.Parameters&lt;BR /&gt;&lt;BR /&gt;Dim UserParams As UserParameters&lt;BR /&gt;Set UserParams = oParam.UserParameters&lt;BR /&gt;&lt;BR /&gt;Dim oLength As Parameters&lt;BR /&gt;Set oLength = oParam.UserParameters(Length)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Open "C:\Users\tso\Desktop\test.txt" For Output As #1 'Open file for output&lt;BR /&gt;&lt;BR /&gt;Write #1, oParam.UserParameters = Length&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Close #1 'Close file&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But as you imagine doesn't work..so i want to ask you how can i call the length value in my vba editor?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:44:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8449437#M92123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T10:44:53Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8450330#M92147</link>
      <description>&lt;P&gt;Two things (one not a real issue).&lt;/P&gt;
&lt;P&gt;Non issue first:&lt;/P&gt;
&lt;P&gt;You create a UserParams variable and set it, but don't use it.&amp;nbsp; Instead you blow past it.&lt;/P&gt;
&lt;P&gt;Actual issue:&lt;/P&gt;
&lt;P&gt;I think your call for .UserParameters(Length) needs quotation marks .UserParameters("Length")&lt;/P&gt;
&lt;P&gt;This is assuming you have a user parameter with the name being "Length", your code must specify that is a string.&amp;nbsp; Otherwise the compiler is looking for a variable called Length from your code, and trying to get its value (which doesn't exist here).&lt;/P&gt;
&lt;P&gt;Finally, your specifying to write Length not oLength.&amp;nbsp; This write method I'm not familiar with, because I learned StreamReader/Writer, and WriteLine methods from .Net.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 16:07:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8450330#M92147</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2018-12-06T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Betreff: iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8459142#M92346</link>
      <description>&lt;P&gt;Does inventror vba works with the write line method??an if yes can i have an example??&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 08:52:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic/m-p/8459142#M92346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T08:52:41Z</dc:date>
    </item>
  </channel>
</rss>

