<?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: Custom fields in model tree (i.e. not part number/file name) in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836645#M180175</link>
    <description>&lt;P&gt;Not out of the box, but this thread might help you in getting the description to show up in the browser.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/displaying-part-description-in-feature-tree/td-p/6350751" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/displaying-part-description-in-feature-tree/td-p/6350751&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://0lojpg.bn1301.livefilestore.com/y4mBpjMsxHsiyE90fl7LZ99L9EQYMinMmTq-HRFH9JbCEzkKriwtHkW3fcvHd1Tn83fNmCEOxlu43NSCaM5t5LTUVxzkr2SykXazzjlH6fe8HEZ9J9xESPFwabQTX5LJ7gKPlhZsl0LCsXsW74obCNtIOOvc57pHxbFMWOTgbDVMzABJgwHnVMfJOWjsmiR3b-SgAE5duRw6SWoxUsKOxXgCw?width=220&amp;amp;height=20&amp;amp;cropmode=none" border="0" width="300" height="100" /&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>Thu, 06 Jun 2019 15:13:53 GMT</pubDate>
    <dc:creator>Cadmanto</dc:creator>
    <dc:date>2019-06-06T15:13:53Z</dc:date>
    <item>
      <title>Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836597#M180174</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My company uses a randomly generated number for parts and file names. When I'm in an assembly the model tree is just a list of numbers, it can get confusing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to have Inventor display the title of the part in the model tree instead of part number/file name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running Inventor 2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 14:56:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836597#M180174</guid>
      <dc:creator>IC96</dc:creator>
      <dc:date>2019-06-06T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836645#M180175</link>
      <description>&lt;P&gt;Not out of the box, but this thread might help you in getting the description to show up in the browser.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/displaying-part-description-in-feature-tree/td-p/6350751" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-forum/displaying-part-description-in-feature-tree/td-p/6350751&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://0lojpg.bn1301.livefilestore.com/y4mBpjMsxHsiyE90fl7LZ99L9EQYMinMmTq-HRFH9JbCEzkKriwtHkW3fcvHd1Tn83fNmCEOxlu43NSCaM5t5LTUVxzkr2SykXazzjlH6fe8HEZ9J9xESPFwabQTX5LJ7gKPlhZsl0LCsXsW74obCNtIOOvc57pHxbFMWOTgbDVMzABJgwHnVMfJOWjsmiR3b-SgAE5duRw6SWoxUsKOxXgCw?width=220&amp;amp;height=20&amp;amp;cropmode=none" border="0" width="300" height="100" /&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>Thu, 06 Jun 2019 15:13:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836645#M180175</guid>
      <dc:creator>Cadmanto</dc:creator>
      <dc:date>2019-06-06T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836759#M180176</link>
      <description>&lt;P&gt;I don't think that there is a way out-of-the-box to change a component's display name from either its filename or part number to its description.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;iLogic to the rescue!?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This thread may give you a good start:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-forum/changing-occurrence-name-for-multiple-parts/td-p/5409647" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-forum/changing-occurrence-name-for-multiple-parts/td-p/5409647&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to post your question in the Inventor Customization forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it is a good idea to keep the part number/filename as part of your new display name.&amp;nbsp; I would get very lost in an assembly that did not keep that information in front of me.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:55:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836759#M180176</guid>
      <dc:creator>swalton</dc:creator>
      <dc:date>2019-06-06T15:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836972#M180177</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3458850"&gt;@IC96&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To do this for all occurrences in the assembly you can use something like this example ilogic code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This rule catches errors when the title iproperty is empty, and it also adds an instance number with a colon, so that no errors occur from trying to name multiple occurrences of the same part the same thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note I would make this an external rule and run it on the assembly...&amp;nbsp; and you might set it to run on the 'Before Save' event trigger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim oAssyDoc As AssemblyDocument
oAssyDoc = ThisApplication.ActiveDocument
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = oAssyDoc.ComponentDefinition
Dim oOcc As ComponentOccurrence

i=1
For Each oOcc In oAsmCompDef.Occurrences.AllLeafOccurrences
		Try
		oOcc.Name = iProperties.Value(oOcc.Name, "Summary", "Title") &amp;amp; ":" &amp;amp; i
		Catch
		'catch errors ( such as empty title iprop value ) and do nothing
		End Try
		
		i=i+1
Next&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Jun 2019 17:21:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836972#M180177</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2019-06-06T17:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836993#M180178</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/113378"&gt;@swalton&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;I think it is a good idea to keep the part number/filename as part of your new display name.&amp;nbsp; I would get very lost in an assembly that did not keep that information in front of me.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a good point, maybe something like this to toggle between Title and Part Number would be best:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;oInput = InputRadioBox("Set browser names as?", "Title", "Part Number", True, "iLogic")

Dim oAssyDoc As AssemblyDocument
oAssyDoc = ThisApplication.ActiveDocument
Dim oAsmCompDef As AssemblyComponentDefinition
oAsmCompDef = oAssyDoc.ComponentDefinition
Dim oOcc As ComponentOccurrence

i=1
For Each oOcc In oAsmCompDef.Occurrences.AllLeafOccurrences

	If oInput = True Then 
		sText = iProperties.Value(oOcc.Name, "Summary", "Title")
	Else
		sText = iProperties.Value(oOcc.Name, "Project", "Part Number")
	End If

	Try
	oOcc.Name = sText  &amp;amp; ":" &amp;amp; i
	Catch
	'catch errors ( such as empty title iprop value ) and do nothing
	End Try
	
	i=i+1
Next&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 17:32:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8836993#M180178</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2019-06-06T17:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8838188#M180179</link>
      <description>&lt;P&gt;Thanks mate, this is exactly what I was after&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-06-07 09_13_21-Autodesk Inventor Professional 2018.png" style="width: 232px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/645072i462E346C802BCB3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-06-07 09_13_21-Autodesk Inventor Professional 2018.png" alt="2019-06-07 09_13_21-Autodesk Inventor Professional 2018.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 08:15:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/8838188#M180179</guid>
      <dc:creator>IC96</dc:creator>
      <dc:date>2019-06-07T08:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/9818984#M180180</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for this solution but I am having trouble running the macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please assist me running this macro or i logic rule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 19:48:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/9818984#M180180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-22T19:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in model tree (i.e. not part number/file name)</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/9819007#M180181</link>
      <description>&lt;P&gt;Hi! Another option is to install an existing app. Please take a look at the following browser related apps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apps.autodesk.com/INVNTOR/en/List/Search?isAppSearch=True&amp;amp;searchboxstore=INVNTOR&amp;amp;facet=&amp;amp;collection=&amp;amp;sort=&amp;amp;query=browser" target="_blank"&gt;https://apps.autodesk.com/INVNTOR/en/List/Search?isAppSearch=True&amp;amp;searchboxstore=INVNTOR&amp;amp;facet=&amp;amp;collection=&amp;amp;sort=&amp;amp;query=browser&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 20:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/custom-fields-in-model-tree-i-e-not-part-number-file-name/m-p/9819007#M180181</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2020-10-22T20:04:30Z</dc:date>
    </item>
  </channel>
</rss>

