<?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 SHOW BOTH PART NUMBER &amp;amp; BROWSER NAME IN DESIGN TREE ? in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5941932#M348237</link>
    <description>&lt;P&gt;As a former Solidworks user I am trying to find a way to show BOTH the part number and the renamed browser name in the design tree.&lt;/P&gt;&lt;P&gt;I know I can switch back and forth between the two but would like to see both .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2015 17:32:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-08T17:32:30Z</dc:date>
    <item>
      <title>SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5941932#M348237</link>
      <description>&lt;P&gt;As a former Solidworks user I am trying to find a way to show BOTH the part number and the renamed browser name in the design tree.&lt;/P&gt;&lt;P&gt;I know I can switch back and forth between the two but would like to see both .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 17:32:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5941932#M348237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942070#M348238</link>
      <description>&lt;P&gt;You would need an iLogic program to do that..&amp;nbsp; Here's an example I did years ago to show plate stock size as the display name.&amp;nbsp; It would also update (iLogic Trigger) before a save of the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/205364i0C28F483AD92D0AF/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="12-8-2015 1-24-44 PM.jpg" title="12-8-2015 1-24-44 PM.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp; Do you know how to use iLogic within Inventor?&amp;nbsp; (also I'm assuming you have a new version of Inventor, where iLogic is built into it - older versin required an add-on).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 18:28:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942070#M348238</guid>
      <dc:creator>Mark.Lancaster</dc:creator>
      <dc:date>2015-12-08T18:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942118#M348239</link>
      <description>&lt;P&gt;Thanks, yes i know ilogic. But doesnt this just add info from part to browswer name?&lt;/P&gt;&lt;P&gt;maybe this will help, I have parts that I named in the browser side flange, top flange door...ect..but the file names are sht.00001234.ipt.&lt;/P&gt;&lt;P&gt;I would like to see both in the browser tree&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 18:45:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942118#M348239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T18:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942143#M348240</link>
      <description>&lt;P&gt;Yes that ilogic snippet is pulling data from the part.&amp;nbsp; It was just an exmaple (assuming you would modify it to meet your requirements).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a quick one that I did based on your requirements..&amp;nbsp; I wasn't sure if you wanted file name or part number..&amp;nbsp; Since you indicated in one posting part number but in another one you said file name.&amp;nbsp; This one combines the current display name with the file name + ext.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/205366i78C002EAAFD05C35/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="12-8-2015 1-55-40 PM.jpg" title="12-8-2015 1-55-40 PM.jpg" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 18:58:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942143#M348240</guid>
      <dc:creator>Mark.Lancaster</dc:creator>
      <dc:date>2015-12-08T18:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942187#M348241</link>
      <description>&lt;P&gt;thanks that worked for the assembly name.&lt;/P&gt;&lt;P&gt;can i modify it to show the same &amp;nbsp;info for the parts of the assembly?&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/205369i3EC4F25772D64E15/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="2015-12-08_13-16-25.jpg" title="2015-12-08_13-16-25.jpg" width="301" height="333" /&gt;&lt;/P&gt;&lt;P&gt;as you can see in the bottom half i didnt change the browswer names..the top half i did so i can find the in the assembly easier.&lt;/P&gt;&lt;P&gt;i would like to see the file name next to the browser new name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 19:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942187#M348241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T19:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942304#M348242</link>
      <description>&lt;P&gt;It all depends on if you want to change the browser name of the individual parts at the assembly level or the part level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you change the individual part browser names at the assembly level you are only changing it in that assembly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you make the change at the part level than its across the board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So at the part level you can use that same iLogic code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If at the assembly level, that would require additional coding to loop through the entire model structure.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 20:27:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942304#M348242</guid>
      <dc:creator>Mark.Lancaster</dc:creator>
      <dc:date>2015-12-08T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: SHOW BOTH PART NUMBER &amp; BROWSER NAME IN DESIGN TREE ?</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942417#M348243</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a vb.net routine I wrote that can be used as an external rule to accomplish such a feat from the assembly level:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: the plethora of checks are required so that it doesn't go through library parts or STANDARD content center parts renaming browser nodes..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Option Compare Text
Imports System.IO

Public Sub Main()
    Dim asmDoc As AssemblyDocument
    asmDoc = ThisApplication.ActiveDocument
    
    asmDoc.DisplayName = BuildName(asmDoc)
    

    Dim doc As Document
    For Each doc In asmDoc.AllReferencedDocuments
		doc = ThisApplication.Documents.Open(doc.FullFileName, False)

		For Each oLibPath In ThisApplication.DesignProjectManager.ActiveDesignProject.LibraryPaths
			If (doc.FullFileName Like "*" &amp;amp; oLibPath.Path &amp;amp; "*")
				oDONOTTOUCH = True
			End If	
		Next		 

		Dim fInfo As New FileInfo(doc.FullFileName)
		If (doc.FullFileName Like "*Content*")  Or (doc.IsModifiable = False) Or (fInfo.IsReadOnly)
			oDONOTTOUCH = True	 
		End If
		
		'If Not doc.PropertySets.Item("Design Tracking Properties").Item("PartNumber").Value Like "#-#-#"
		'	oDONOTTOUCH = True
		'End If


		If oDONOTTOUCH = True
		Else
			If Not (doc.FullFileName Like ThisApplication.DesignProjectManager.ActiveDesignProject.WorkspacePath &amp;amp; "*")
				If MsgBox(doc.FullFileName &amp;amp; " not found in workspace!" &amp;amp; vbLf &amp;amp; vbLf &amp;amp; "Continue?", MsgBoxStyle.YesNo) = MsgBoxResult.No
					doc.ReleaseReference
					Continue For
				End If
			End If
		End If

		If oDONOTTOUCH = False
		Try
        		doc.DisplayName = BuildName(doc)
		Catch
			'MsgBox(doc.FullFileName)
		End Try
		End If

		doc.ReleaseReference

    Next
End Sub

Private Function BuildName(doc As Document) As String
    Dim name As String
    Dim designTrackProps As PropertySet
    designTrackProps = doc.PropertySets.Item("Design Tracking Properties")
    
	If designTrackProps.Item("Part Number").Value Is Nothing
		BuildName = doc.DisplayName
	Else
    name = designTrackProps.Item("Part Number").Value &amp;amp; " - [" &amp;amp; _
           designTrackProps.Item("Description").Value &amp;amp; "]"
           
    BuildName = name
	End If
End Function&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Dec 2015 21:19:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/show-both-part-number-amp-browser-name-in-design-tree/m-p/5942417#M348243</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2015-12-08T21:19:54Z</dc:date>
    </item>
  </channel>
</rss>

