<?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: Selecting all occurrences of a part in Inventor drawing to change color in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067851#M166429</link>
    <description>&lt;P&gt;I get it.&lt;/P&gt;
&lt;P&gt;Not sure if these threads are an option, but if you place the color you want in the model, it might be.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/how-to-make-some-parts-shaded-in-drawing/m-p/3810809#M464672" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/how-to-make-some-parts-shaded-in-drawing/m-p/3810809#M464672&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/individual-item-shaded-view-possible/m-p/5153372#M515365" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/individual-item-shaded-view-possible/m-p/5153372#M515365&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EE LOGO.png" style="width: 284px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/684607iA1C14F39E404C10A/image-dimensions/284x44?v=v2" width="284" height="44" role="button" title="EE LOGO.png" alt="EE LOGO.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Windows 10 x64 -16GB Ram&lt;BR /&gt;Intel i7-6700 @ 3.41ghz&lt;BR /&gt;nVidia GTS 250 - 1 GB&lt;BR /&gt;Inventor Pro 2020&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 18:17:01 GMT</pubDate>
    <dc:creator>Cadmanto</dc:creator>
    <dc:date>2019-10-04T18:17:01Z</dc:date>
    <item>
      <title>Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067710#M166426</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for some solution to select all parts by the name of 2000 x 2000 in an inventor drawing and change the color proprty of all the parts as well as enable the Hidden Line option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that in an assembly you can choose to Select All Occurrences but it doesn't seem available in the drawing file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 17:03:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067710#M166426</guid>
      <dc:creator>icebot53</dc:creator>
      <dc:date>2019-10-04T17:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067765#M166427</link>
      <description>&lt;P&gt;Are you just wanting to see them to select them or are you looking for a means like through iLogic that when you type in this number, it automatically changes everything with this number to the selected color and line option?&lt;/P&gt;
&lt;P&gt;Because, below is available.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FILTER.png" style="width: 551px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/684599i236928D6EBD33D64/image-size/large?v=v2&amp;amp;px=999" role="button" title="FILTER.png" alt="FILTER.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EE LOGO.png" style="width: 258px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/684601i33CF9BADE14B19B7/image-dimensions/258x40?v=v2" width="258" height="40" role="button" title="EE LOGO.png" alt="EE LOGO.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Windows 10 x64 -16GB Ram&lt;BR /&gt;Intel i7-6700 @ 3.41ghz&lt;BR /&gt;nVidia GTS 250 - 1 GB&lt;BR /&gt;Inventor Pro 2020&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 17:29:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067765#M166427</guid>
      <dc:creator>Cadmanto</dc:creator>
      <dc:date>2019-10-04T17:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067829#M166428</link>
      <description>&lt;P&gt;See. My drawings sometimes have over 2000 of these in one assembly and having to go and click each one becomes very tedious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that I can demote the parts in the assembly level and just select that, but based on the type of assembly I'm making, sometimes that is not ideal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I search for them, I still have to click each one individually to select them and change the properties.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:05:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067829#M166428</guid>
      <dc:creator>icebot53</dc:creator>
      <dc:date>2019-10-04T18:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067851#M166429</link>
      <description>&lt;P&gt;I get it.&lt;/P&gt;
&lt;P&gt;Not sure if these threads are an option, but if you place the color you want in the model, it might be.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/how-to-make-some-parts-shaded-in-drawing/m-p/3810809#M464672" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/how-to-make-some-parts-shaded-in-drawing/m-p/3810809#M464672&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/individual-item-shaded-view-possible/m-p/5153372#M515365" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/individual-item-shaded-view-possible/m-p/5153372#M515365&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EE LOGO.png" style="width: 284px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/684607iA1C14F39E404C10A/image-dimensions/284x44?v=v2" width="284" height="44" role="button" title="EE LOGO.png" alt="EE LOGO.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Windows 10 x64 -16GB Ram&lt;BR /&gt;Intel i7-6700 @ 3.41ghz&lt;BR /&gt;nVidia GTS 250 - 1 GB&lt;BR /&gt;Inventor Pro 2020&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:17:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067851#M166429</guid>
      <dc:creator>Cadmanto</dc:creator>
      <dc:date>2019-10-04T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067868#M166430</link>
      <description>&lt;P&gt;Is it always the same part or different parts you need to do this for?&lt;/P&gt;
&lt;P&gt;Do you always need to change them to a certain color or do you need the ability to choose a different color each time you perform this operation on all parts?&lt;/P&gt;
&lt;P&gt;Are you always making them hidden lines?&lt;/P&gt;
&lt;P&gt;Anything else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If one were to provide code that just allowed you to pick a part and run a rule to change all drawing curves/lines to your set color and make it hidden line type would that be exactly what you need or is there something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:24:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067868#M166430</guid>
      <dc:creator>mcgyvr</dc:creator>
      <dc:date>2019-10-04T18:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067880#M166431</link>
      <description>&lt;P&gt;I don't often play with colors as my parts have predetermined colors. I have read the article but don't know exactly where to find the opacity settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in drawings, I highlight the bracing as blue and the access as green etc (attached image).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On some views, I need to use the hidden line command as the parts that I want to color are underneath other parts, but on others it doesn't really matter.&amp;nbsp; Changing the color only means I must still go and select a lot of parts in the drawing browser and change the hidden line setting.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:31:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067880#M166431</guid>
      <dc:creator>icebot53</dc:creator>
      <dc:date>2019-10-04T18:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067883#M166432</link>
      <description>&lt;P&gt;&lt;EM&gt;Is it always the same part or different parts you need to do this for? - &lt;/EM&gt;I have an Ipart which gives a different part and name with about 40 different sizes e.g. 1500 x 2000, 2000 x 2000, 2500 x 2000 etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Do you always need to change them to a certain color or do you need the ability to choose a different color each time you perform this operation on all parts? -&amp;nbsp;&lt;/EM&gt;It would be nice to be able to change the colors as I wish. Different types of bracing get different colors.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Are you always making them hidden lines? -&amp;nbsp;&lt;/EM&gt;I build scaffolding in inventor and sometimes to show a brace in plan elevation, there are boards above it. If you don't enable the hidden line option it doesn't show. On the sectional elevations I don't need the hidden lines but on the plan drawings I do.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Anything else?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:33:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9067883#M166432</guid>
      <dc:creator>icebot53</dc:creator>
      <dc:date>2019-10-04T18:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9069589#M166433</link>
      <description>&lt;P&gt;Anyone else maybe have any ideas?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 14:07:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9069589#M166433</guid>
      <dc:creator>icebot53</dc:creator>
      <dc:date>2019-10-06T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9069908#M166434</link>
      <description>&lt;P&gt;you can try this iLogic rule. Its not bug free. The first time you run it works fine afther that it started hiding parts each time you run it. (at some point it shows all part again :-S ) i could not find a solution for that. anyway copy past this in 1 ilogic rule and see what happens.&lt;/P&gt;&lt;PRE&gt;Sub Main()

	Dim oCommandMgr As CommandManager = ThisApplication.CommandManager
	oControlDef = oCommandMgr.ControlDefinitions.Item("DrawingBodyHiddenLinesCtxCmd")
	
    Dim doc As DrawingDocument = ThisApplication.ActiveDocument
    Dim partNameToColor As String = "strip"

    Dim topNode As BrowserNode = doc.BrowserPanes.Item("DlHierarchy").TopNode
    selectPart(topNode, partNameToColor)
End Sub
Public curentView As DrawingView
Public oControlDef As ControlDefinition
Public Sub selectPart(topNode As BrowserNode, name As String)
    For Each node As BrowserNode In topNode.BrowserNodes
        Try
            node.Expanded = True
        Catch ex As Exception

        End Try

        If (TypeOf node.NativeObject Is Sheet) Then
            selectPart(node, name)
        ElseIf (TypeOf node.NativeObject Is DrawingView) Then
            curentView = node.NativeObject
            selectPart(node, name)
        ElseIf (TypeOf node.NativeObject Is AssemblyComponentDefinition) Then

            selectPart(node, name)

        ElseIf (TypeOf node.NativeObject Is ComponentOccurrence) Then
            If (node.BrowserNodeDefinition.Label.Contains(name)) Then
                node.DoSelect()
                oControlDef.Execute()
                colorPart(node.NativeObject, curentView)
            End If
        End If
    Next

End Sub
Public Sub colorPart(foundOccurence As ComponentOccurrence, view As DrawingView)
    Dim drawingCurves As DrawingCurvesEnumerator = view.DrawingCurves(foundOccurence)
    For Each dc As DrawingCurve In drawingCurves
        dc.LineWeight = 3
        dc.Color = ThisApplication.TransientObjects.CreateColor(255, 0, 0)
    Next
End Sub&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Oct 2019 21:19:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/9069908#M166434</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2019-10-06T21:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting all occurrences of a part in Inventor drawing to change color</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/12284221#M166435</link>
      <description>&lt;P&gt;na verdade o que o amigo está querendo é algo que eu também quero a alguns anos e ninguém consegue entender a necessidade.&lt;/P&gt;
&lt;P&gt;Seria a mesma opção disponível no ambiente de montagem .iam para o ambiente de desenho .idw&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"In fact, what the friend is wanting is something that I have also wanted for a few years and no one can understand the need.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;It would be the same option available in the .iam assembly environment for the .idw drawing environment"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Translated by Google&lt;BR /&gt;Traduzido por [@clacampos] através do Google Tradutor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaime75_0-1696425927500.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1275051iDCDD9329869F683B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaime75_0-1696425927500.png" alt="jaime75_0-1696425927500.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 17:43:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/selecting-all-occurrences-of-a-part-in-inventor-drawing-to/m-p/12284221#M166435</guid>
      <dc:creator>jaime75</dc:creator>
      <dc:date>2023-10-04T17:43:21Z</dc:date>
    </item>
  </channel>
</rss>

