<?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: COLOR CHANGE FOLDING LINE in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800780#M132084</link>
    <description>&lt;P&gt;In the code, I use the LINQ library. I'm not sure if that library is already available in Inventor 2017.&amp;nbsp; This is the same rule only without the helper functions from the LINQ library.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Main&lt;/SPAN&gt;()
    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Document&lt;/SPAN&gt;

    &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;kBendUpEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #35b173;"&gt;"ARRIBA"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;kBendDownEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #35b173;"&gt;"ABAJO"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #ce5c95;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingDocument&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;layerName&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;String&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;layer&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Layer&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;StylesManager&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Layers&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;layerName&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Sheets&lt;/SPAN&gt;
        &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;view&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingView&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;DrawingViews&lt;/SPAN&gt;
            &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;View&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;DrawingCurves&lt;/SPAN&gt;
                &lt;SPAN style="color: #ce5c95;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt;) &lt;SPAN style="color: #ce5c95;"&gt;Then&lt;/SPAN&gt;
                    &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;segment&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurveSegment&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Segments&lt;/SPAN&gt;
                        &lt;SPAN style="color: #db9652;"&gt;segment&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Layer&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;layer&lt;/SPAN&gt;
                    &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
                &lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;If&lt;/SPAN&gt;
            &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
        &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
    &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 04 Dec 2021 14:04:13 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2021-12-04T14:04:13Z</dc:date>
    <item>
      <title>COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10784570#M131788</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi friends&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me, how to create an ilogic rule to change the double lines UP BLUE and DOWN RED in Inventor planes?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I WANT THE LINE TO ALSO CHANGE COLOR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 00:02:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10784570#M131788</guid>
      <dc:creator>analistacad</dc:creator>
      <dc:date>2021-11-27T00:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10785435#M131794</link>
      <description>&lt;P&gt;Maybe this is what you need:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Main&lt;/SPAN&gt;()
    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #9d6bce;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #9d6bce;"&gt;Document&lt;/SPAN&gt;

    &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;kBendUpEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #35b173;"&gt;"ARRIBA"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;kBendDownEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #35b173;"&gt;"ABAJO"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #ce5c95;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingDocument&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;layerName&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;String&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;layer&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Layer&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;StylesManager&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Layers&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;layerName&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;segments&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Sheets&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Cast&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Sheet&lt;/SPAN&gt;).
        &lt;SPAN style="color: #db9652;"&gt;SelectMany&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;sheet&lt;/SPAN&gt;) &lt;SPAN style="color: #db9652;"&gt;sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;DrawingViews&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Cast&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingView&lt;/SPAN&gt;)).
        &lt;SPAN style="color: #db9652;"&gt;SelectMany&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;view&lt;/SPAN&gt;) &lt;SPAN style="color: #db9652;"&gt;view&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;DrawingCurves&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Cast&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurve&lt;/SPAN&gt;)).
        &lt;SPAN style="color: #db9652;"&gt;Where&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;) &lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt;).
        &lt;SPAN style="color: #db9652;"&gt;SelectMany&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Function&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;) &lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Segments&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Cast&lt;/SPAN&gt;(&lt;SPAN style="color: #ce5c95;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurveSegment&lt;/SPAN&gt;)).
        &lt;SPAN style="color: #db9652;"&gt;ToList&lt;/SPAN&gt;()

    &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;segment&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurveSegment&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;segments&lt;/SPAN&gt;
        &lt;SPAN style="color: #db9652;"&gt;segment&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Layer&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;layer&lt;/SPAN&gt;
    &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;improved the rule&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 16:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10785435#M131794</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-11-27T16:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10786667#M131807</link>
      <description>&lt;P&gt;Uff !!! Excellent work friend !! Thanks&lt;BR /&gt;- A question for version 2017 is it possible?&lt;BR /&gt;- It is possible to leave a single rule see image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;- What should I study to have ilogic proficiency?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks friend Great help a greeting from&lt;BR /&gt;Colombia&amp;nbsp;&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@0E1C4C6A4039F60968930B2D80BE7018/emoticons/1f603.png" alt=":grinning_face_with_big_eyes:" title=":grinning_face_with_big_eyes:" /&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7B9EB3240775461B3EC5E061A89DEACF/emoticons/1f64f.png" alt=":folded_hands:" title=":folded_hands:" /&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@11621CEFBF970310F8800B3C51700F28/emoticons/1f91d.png" alt=":handshake:" title=":handshake:" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Nov 2021 16:55:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10786667#M131807</guid>
      <dc:creator>analistacad</dc:creator>
      <dc:date>2021-11-28T16:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10796372#M131995</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Friend Jelte DeJong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error, see image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in rule 3, in document: SER1-00-A00.idw&lt;BR /&gt;Cannot find the public member "Cast" in the type Sheets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;greeting&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 14:18:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10796372#M131995</guid>
      <dc:creator>analistacad</dc:creator>
      <dc:date>2021-12-02T14:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800780#M132084</link>
      <description>&lt;P&gt;In the code, I use the LINQ library. I'm not sure if that library is already available in Inventor 2017.&amp;nbsp; This is the same rule only without the helper functions from the LINQ library.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Main&lt;/SPAN&gt;()
    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Document&lt;/SPAN&gt;

    &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;kBendUpEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #35b173;"&gt;"ARRIBA"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;kBendDownEdge&lt;/SPAN&gt;, &lt;SPAN style="color: #35b173;"&gt;"ABAJO"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #ce5c95;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;ChangeLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingDocument&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingEdgeTypeEnum&lt;/SPAN&gt;, &lt;SPAN style="color: #db9652;"&gt;layerName&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;String&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ce5c95;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;layer&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Layer&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;StylesManager&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Layers&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #db9652;"&gt;layerName&lt;/SPAN&gt;)

    &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Sheet&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Sheets&lt;/SPAN&gt;
        &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;view&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingView&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;Sheet&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;DrawingViews&lt;/SPAN&gt;
            &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurve&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;View&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;DrawingCurves&lt;/SPAN&gt;
                &lt;SPAN style="color: #ce5c95;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;EdgeType&lt;/SPAN&gt;) &lt;SPAN style="color: #ce5c95;"&gt;Then&lt;/SPAN&gt;
                    &lt;SPAN style="color: #ce5c95;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;segment&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;DrawingCurveSegment&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #db9652;"&gt;curve&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Segments&lt;/SPAN&gt;
                        &lt;SPAN style="color: #db9652;"&gt;segment&lt;/SPAN&gt;.&lt;SPAN style="color: #db9652;"&gt;Layer&lt;/SPAN&gt; = &lt;SPAN style="color: #db9652;"&gt;layer&lt;/SPAN&gt;
                    &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
                &lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;If&lt;/SPAN&gt;
            &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
        &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
    &lt;SPAN style="color: #ce5c95;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ce5c95;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ce5c95;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Dec 2021 14:04:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800780#M132084</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-12-04T14:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800940#M132086</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Friend, I am very grateful to you, thank you very much, it already worked for me!&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@0E1C4C6A4039F60968930B2D80BE7018/emoticons/1f603.png" alt=":grinning_face_with_big_eyes:" title=":grinning_face_with_big_eyes:" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from Colombia a cordial greeting&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 16:48:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800940#M132086</guid>
      <dc:creator>analistacad</dc:creator>
      <dc:date>2021-12-04T16:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: COLOR CHANGE FOLDING LINE</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800943#M132087</link>
      <description>&lt;P&gt;Friend, I am very grateful to you, thank you very much, it already worked for me!&lt;/P&gt;&lt;P&gt;from Colombia a cordial greeting&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 16:49:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/color-change-folding-line/m-p/10800943#M132087</guid>
      <dc:creator>analistacad</dc:creator>
      <dc:date>2021-12-04T16:49:05Z</dc:date>
    </item>
  </channel>
</rss>

