<?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: Solid Body (Feature) default numbering in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462232#M48057</link>
    <description>&lt;P&gt;You can specify the default prefix to use, instead of "Solid", by going into the Document Settings (Tools tab &amp;gt; Options panel), then to the Modeling tab of that dialog.&amp;nbsp; In the lower left area of the dialog at that tab, there is a section named "Naming Prefixing", and you can specify the prefix text for Solid Bodies and for Surface Bodies separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;If you want and have time, I would appreciate your Vote(s) for &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank" rel="noopener"&gt;My IDEAS &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/SPAN&gt;&lt;/A&gt;or you can Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank" rel="noopener"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 15:02:38 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2021-07-12T15:02:38Z</dc:date>
    <item>
      <title>Solid Body (Feature) default numbering</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462191#M48056</link>
      <description>&lt;P&gt;Is anyone aware of a way to change the default Numbering of features, Solid Bodies to be exact, without renaming after they are created?&amp;nbsp;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;Solid1, Solid2 to be Solid001, Solid002&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 14:57:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462191#M48056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-12T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Solid Body (Feature) default numbering</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462232#M48057</link>
      <description>&lt;P&gt;You can specify the default prefix to use, instead of "Solid", by going into the Document Settings (Tools tab &amp;gt; Options panel), then to the Modeling tab of that dialog.&amp;nbsp; In the lower left area of the dialog at that tab, there is a section named "Naming Prefixing", and you can specify the prefix text for Solid Bodies and for Surface Bodies separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;If you want and have time, I would appreciate your Vote(s) for &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank" rel="noopener"&gt;My IDEAS &lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt;&lt;/SPAN&gt;&lt;/A&gt;or you can Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank" rel="noopener"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:02:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462232#M48057</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-07-12T15:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Solid Body (Feature) default numbering</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462268#M48058</link>
      <description>&lt;P&gt;Yes, which is what i do for the Naming (just be "-") but what I am needing/asking-about is instead of a single digit count, having a 3 digit count like 001, 002, 003, 004, 005, and so on... so my Bodies would appear in the browser as -001, -002, -003 and so on... My "Make Components Dialog&amp;gt;Prefix is the project number, example: 11234 so my parts that are created are 11234-001, 11234-002, and so on...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:13:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462268#M48058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-12T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Solid Body (Feature) default numbering</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462503#M48059</link>
      <description>&lt;P&gt;I know my post doesn't address the numbering side of body naming, but this was the only place I know of that related directly to part solid body naming in the part environment, so I just pointed it out for documentation purposes.&amp;nbsp; As far as I know, there still isn't any way to control that numbering portion of part body naming.&amp;nbsp; This certainly seems like an option that would be pretty popular, especially among those who regularly convert their multi-body parts into assemblies and/or separate parts.&amp;nbsp;&amp;nbsp; My recommendation would be to search the &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232" target="_blank" rel="noopener"&gt;Inventor Ideas Forum&lt;/A&gt; for other posts related to this topic, and vote for anything similar, then if none of them address this specific ability, you could create your own post there requesting that they add that specific ability.&lt;/P&gt;
&lt;P&gt;If you do end up making your own Idea post, you could link it back here, so others can find it easier.&lt;/P&gt;
&lt;P&gt;Here are a few related links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/name-solid-bodies-when-creating-multi-bodies/idi-p/6829497" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/name-solid-bodies-when-creating-multi-bodies/idi-p/6829497&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/re-use-body-names-in-derived-parts/idi-p/9481852" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/re-use-body-names-in-derived-parts/idi-p/9481852&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/control-new-body-name-when-create-a-new-body/idi-p/5961731" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/control-new-body-name-when-create-a-new-body/idi-p/5961731&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 16:56:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10462503#M48059</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-07-12T16:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Solid Body (Feature) default numbering</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10474287#M48060</link>
      <description>&lt;P&gt;Try this rule. After - type 0. It is working for me for many years. It makes me part number&amp;nbsp; and description in browser tree&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GosponZ_0-1626446349164.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/942300i6AF9E57428B08466/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GosponZ_0-1626446349164.png" alt="GosponZ_0-1626446349164.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt; 
&lt;SPAN&gt;'check for custom iProperty and add it if not found&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;prefix&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Prefix"&lt;/SPAN&gt;
&lt;SPAN&gt;customPropertySet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt; _
(&lt;SPAN&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)


&lt;SPAN&gt;Try&lt;/SPAN&gt;
         &lt;SPAN&gt;prop&lt;/SPAN&gt;= &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;prefix&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
       &lt;SPAN&gt;'Assume Error means Not found&lt;/SPAN&gt;
            &lt;SPAN&gt;customPropertySet&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;""&lt;/SPAN&gt;, &lt;SPAN&gt;prefix&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;


&lt;SPAN&gt;'write the part number to the Prefix iProperty if it is empty&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN&gt;"Prefix"&lt;/SPAN&gt;) = &lt;SPAN&gt;""&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN&gt;"Prefix"&lt;/SPAN&gt;) = &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN&gt;"Part Number"&lt;/SPAN&gt;) &amp;amp; &lt;SPAN&gt;"-"&lt;/SPAN&gt;
&lt;SPAN&gt;Else&lt;/SPAN&gt; 
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;


&lt;SPAN&gt;'check that this active document is a part file    &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentType&lt;/SPAN&gt; &amp;lt;&amp;gt; &lt;SPAN&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt; (&lt;SPAN&gt;"Please open a part document"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;


&lt;SPAN&gt;'define the active document&lt;/SPAN&gt;
&lt;SPAN&gt;partDoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;solid&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;SurfaceBody&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;i&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt;


&lt;SPAN&gt;'get input from user&lt;/SPAN&gt;
&lt;SPAN&gt;prefix&lt;/SPAN&gt; = &lt;SPAN&gt;InputBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Enter a prefix for the solid body names"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;, &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN&gt;"Prefix"&lt;/SPAN&gt;))


&lt;SPAN&gt;'write input back to custom iProperty &lt;/SPAN&gt;
&lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN&gt;"Prefix"&lt;/SPAN&gt;) = &lt;SPAN&gt;prefix&lt;/SPAN&gt;
&lt;SPAN&gt;i&lt;/SPAN&gt; = 1
&lt;SPAN&gt;'Rename all solid bodies incrementing suffix&lt;/SPAN&gt;
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;solid&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;partDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;SurfaceBodies&lt;/SPAN&gt;
&lt;SPAN&gt;solid&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt; = &lt;SPAN&gt;prefix&lt;/SPAN&gt; + &lt;SPAN&gt;Iif&lt;/SPAN&gt;(&lt;SPAN&gt;i&lt;/SPAN&gt; &amp;lt; 10, &lt;SPAN&gt;"0"&lt;/SPAN&gt; + &lt;SPAN&gt;CStr&lt;/SPAN&gt;(&lt;SPAN&gt;i&lt;/SPAN&gt;), &lt;SPAN&gt;CStr&lt;/SPAN&gt;(&lt;SPAN&gt;i&lt;/SPAN&gt;))
&lt;SPAN&gt;i&lt;/SPAN&gt; = &lt;SPAN&gt;i&lt;/SPAN&gt; + 1
&lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 14:41:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10474287#M48060</guid>
      <dc:creator>GosponZ</dc:creator>
      <dc:date>2021-07-16T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Solid Body (Feature) default numbering</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10483129#M48061</link>
      <description>&lt;P&gt;This is what I am currently doing... the only downfall is that when you need to go back and create new parts, you lost the ability to use the code to automate it...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 19:18:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/solid-body-feature-default-numbering/m-p/10483129#M48061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-20T19:18:30Z</dc:date>
    </item>
  </channel>
</rss>

