<?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: iLogic - Suppress all features except Features with &amp;quot;DXFn&amp;quot; name in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548223#M111497</link>
    <description>&lt;P&gt;Well, you made it look too simple &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@1A5BF4DFF76C3208F100BEEBB3221CE2/emoticons/1f605.png" alt=":grinning_face_with_sweat:" title=":grinning_face_with_sweat:" /&gt; . But Yes, that's what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Made a small improvement to be case in-sensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;For Each oFeature As PartFeature In ThisDoc.Document.ComponentDefinition.Features
	If UCase(oFeature.Name).Contains("DXF") = False Then oFeature.Suppressed = True
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance on saving features state before suppressing? To be able to restore original state later.&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 11:31:26 GMT</pubDate>
    <dc:creator>amarcoc</dc:creator>
    <dc:date>2020-05-29T11:31:26Z</dc:date>
    <item>
      <title>iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548160#M111495</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I rename features with DXF1, DXF2, DXF3, etc to export DXF faces with only those features active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am trying to make a simple iLogic macro to run feature tree and find DXF on each feature (that can be any type), but I cant even access features name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to exclude all features except features with DXF on its name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 11:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548160#M111495</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-05-29T11:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548179#M111496</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621185"&gt;@amarcoc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you simply want to suppress all features within a part without dxf in the name?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"DXF"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 11:10:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548179#M111496</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-05-29T11:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548223#M111497</link>
      <description>&lt;P&gt;Well, you made it look too simple &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@1A5BF4DFF76C3208F100BEEBB3221CE2/emoticons/1f605.png" alt=":grinning_face_with_sweat:" title=":grinning_face_with_sweat:" /&gt; . But Yes, that's what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Made a small improvement to be case in-sensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;For Each oFeature As PartFeature In ThisDoc.Document.ComponentDefinition.Features
	If UCase(oFeature.Name).Contains("DXF") = False Then oFeature.Suppressed = True
Next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance on saving features state before suppressing? To be able to restore original state later.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 11:31:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548223#M111497</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-05-29T11:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548366#M111502</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621185"&gt;@amarcoc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding saving the state:&lt;/P&gt;&lt;P&gt;I thought I'd use the features attributes to store a simple boolean value in it for it's suppressed state.&lt;/P&gt;&lt;P&gt;For some reason though I couldn't create an attribute with boolean value, so i had to make it a string. I don't know why because I think it should work with ValueTypeEnum.kBooleanType.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyways,&lt;/P&gt;&lt;P&gt;this rule stores a string "True"/"False" as an attribute in the feature:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"DXF"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttributeSet&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Attribute&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NameIsUsed&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;)
				&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"False"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"hejhejhej"&lt;/SPAN&gt;)
				&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ValueTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStringType&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"False"&lt;/SPAN&gt;))
			&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
			&lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ValueTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStringType&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"False"&lt;/SPAN&gt;))
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Then to restore the features use this rule:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NameIsUsed&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
		&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSuppressed&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
			&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oSuppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;)
		&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Hope it helps &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I forgot to add your UpperCase improvement. Don't forget to add it to the code again &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7B4B80143EBEB4F250CEEC82342F6CA1/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 12:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548366#M111502</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-05-29T12:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548486#M111505</link>
      <description>&lt;P&gt;To late to edit the post now, but obviously the line&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"hejhejhej"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;Should not be there! &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@E4FC4123B14C63548B578BA62ED52CA9/emoticons/1f606.png" alt=":grinning_squinting_face:" title=":grinning_squinting_face:" /&gt; I just forgot to delete it...&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 12:54:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548486#M111505</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-05-29T12:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548512#M111507</link>
      <description>&lt;P&gt;Thanks!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's it. I will work on your code from here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:01:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548512#M111507</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-05-29T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548598#M111510</link>
      <description>&lt;P&gt;Hi again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One small issue:&lt;/P&gt;&lt;P&gt;- I run the first code. It will create the attribute set.&lt;/P&gt;&lt;P&gt;- If I suppress or unsuppress some feature, the attributeset will be outdated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any way to delete the whole attribute set before checking if the attribute exists?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:31:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9548598#M111510</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-05-29T13:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559555#M111685</link>
      <description>&lt;DIV class="lia-message-author-with-avatar"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Collaborator lia-component-message-view-widget-author-username"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp;Could you check my last question? Any help? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 07:29:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559555#M111685</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-06-04T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559653#M111687</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621185"&gt;@amarcoc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I missed this question...&lt;/P&gt;&lt;P&gt;I don't really understand what you mean. Could you try to explain further? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 08:34:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559653#M111687</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-04T08:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559902#M111695</link>
      <description>&lt;P&gt;Please check attached "_TESTE.ipt" file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can make a quick test:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Run your first macro and then run your second macro.&lt;/P&gt;&lt;P&gt;- You will find Hole5 and Hole4 suppressed, even if it wasn't suppressed before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under some conditions, the second macro won't restore original suppress state.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 10:34:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559902#M111695</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-06-04T10:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559962#M111697</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621185"&gt;@amarcoc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. Now I see the problem.&lt;/P&gt;&lt;P&gt;Try this as the first rule &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSuppress&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ObjectCollection&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartFeature&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Features&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"DXF"&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AttributeSet&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Attribute&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NameIsUsed&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;)
				&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"False"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
				&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ValueTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStringType&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"False"&lt;/SPAN&gt;))
			&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
			&lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AttributeSets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"SuppressedInfo"&lt;/SPAN&gt;)
			&lt;SPAN style="color: #800000;"&gt;oAttribute&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAttributeSet&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Suppressed"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;ValueTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kStringType&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"True"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"False"&lt;/SPAN&gt;))
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Suppressed&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSuppress&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oFeature&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SuppressFeatures&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oSuppress&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;The thing is that because of relationships. Suppressing one feature resulted in another feature being suppressed before the code had the chance to check it. Therefore the attribute was set to suppressed.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:00:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9559962#M111697</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-06-04T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - Suppress all features except Features with "DXFn" name</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9560400#M111713</link>
      <description>&lt;P&gt;Thank you. Understood the problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Worked perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 13:52:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-suppress-all-features-except-features-with-quot-dxfn-quot/m-p/9560400#M111713</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2020-06-04T13:52:18Z</dc:date>
    </item>
  </channel>
</rss>

