<?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: Multi bodies - auto rename. in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3326087#M137758</link>
    <description>&lt;P&gt;Hi Saturator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you recieve my message sent to your inbox?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually put an ilogic code in there for you to rename the solid names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reply to my inbox message and i'll send through to you the code to automatically transfer the thickness, width and length of solids to their repected individual parts generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2012 22:11:08 GMT</pubDate>
    <dc:creator>PACDrafting</dc:creator>
    <dc:date>2012-02-09T22:11:08Z</dc:date>
    <item>
      <title>Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3298641#M137752</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have small problem. I have lot of bodies (50) with name solid1.... solid50.&lt;/P&gt;&lt;P&gt;How can I quickly rename all bodies according some template for example "Plate_01... Plate_50"?&lt;/P&gt;&lt;P&gt;It is possible to use ilogic? or maybe will be better to use vba.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somebody have idea??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helps,&lt;/P&gt;&lt;P&gt;TJ&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 07:51:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3298641#M137752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-19T07:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3299015#M137753</link>
      <description>We use multi body part modeling also for platework.&lt;BR /&gt;I have had to write some code and procedures to get: thickness, width and length parameters from the solid body part file to each individual part file.&lt;BR /&gt;The trick is to make components into sheet metal part files then flat pattern all files.&lt;BR /&gt;My code does all this.&lt;BR /&gt;I'm not at work for a couple of weeks but I've bookmarked your question when I return.&lt;BR /&gt;In regards to the file naming. We have vault collaboration which auto names the files.</description>
      <pubDate>Thu, 19 Jan 2012 12:56:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3299015#M137753</guid>
      <dc:creator>PACDrafting</dc:creator>
      <dc:date>2012-01-19T12:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3303545#M137754</link>
      <description>&lt;P&gt;hey friend i'm new at inventor and&amp;nbsp;posting for help,&amp;nbsp;and old with autocad , this sounds like just what I need, if you could help me too&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thanks a lot&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2012 21:28:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3303545#M137754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-23T21:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3314719#M137755</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;I viewed this post recently , regarding&amp;nbsp; a code that you have writen (&lt;/P&gt;&lt;DIV class="lia-message-body lia-component-body"&gt;&lt;DIV class="lia-message-body-content"&gt;We use multi body part modeling also for platework.&lt;BR /&gt;I have had to write some code and procedures to get: thickness, width and length parameters from the solid body part file to each individual part file.&lt;BR /&gt;The trick is to make components into sheet metal part files then flat pattern all files.&lt;BR /&gt;My code does all this.)&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;this sounds like the ticket that I need to half way become productive in inventor&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there anyway that you could send this code to me&amp;nbsp;&amp;nbsp; please&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thanks&lt;/DIV&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Feb 2012 20:53:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3314719#M137755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-01T20:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3315151#M137756</link>
      <description>&lt;P&gt;I personally like to use VBA. So what you want is to rename the solid1....solidX? The Inventor API allows you to change the Name of the solid - actually it's Name property of the SurfaceBody interface in Inventor API world.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code that you can try:&lt;/P&gt;
&lt;P&gt;Sub changeSolidName()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim ptDoc As PartDocument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ThisApplication.ActiveDocument.DocumentType &amp;lt;&amp;gt; kPartDocumentObject Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "please open a part document"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set ptDoc = ThisApplication.ActiveDocument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim solid As SurfaceBody&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim j As Integer&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim prefix As String&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prefix = "Plate_"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; j = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each solid In ptDoc.ComponentDefinition.SurfaceBodies&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; solid.Name = prefix + IIf(j &amp;lt; 10, "0" + CStr(j), CStr(j))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; j = j + 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;BR /&gt;End Sub&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 07:27:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3315151#M137756</guid>
      <dc:creator>barbara.han</dc:creator>
      <dc:date>2012-02-02T07:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3324915#M137757</link>
      <description>&lt;P&gt;Thank you for your help. The script work perfect. I modified a litle bit your script but source is the same.&lt;/P&gt;&lt;P&gt;Thank you one more time.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 13:50:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3324915#M137757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-09T13:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3326087#M137758</link>
      <description>&lt;P&gt;Hi Saturator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you recieve my message sent to your inbox?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually put an ilogic code in there for you to rename the solid names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reply to my inbox message and i'll send through to you the code to automatically transfer the thickness, width and length of solids to their repected individual parts generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 22:11:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3326087#M137758</guid>
      <dc:creator>PACDrafting</dc:creator>
      <dc:date>2012-02-09T22:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename. Find &amp; Replace</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3810013#M137759</link>
      <description>&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;I need help in renaming solid body names. We use copy design at my work place often and renaming the solid bodies is a part of the task we have to keep all things in sync. The auto rename is a great iLogic rule for first time use but here we mane extend that naming to LH End Panel. Using the above logic rule I would lose the LH End Panel for example XXXXXX01 LH End Panel new body name YYYYYY01 I would like a rule that I can change the first characters that I specify like a find and replace all.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:35:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3810013#M137759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-20T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename. Find &amp; Replace</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3815156#M137760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could create a rule like this, where you can set what to replace with what:&lt;/P&gt;
&lt;PRE&gt;myparam = InputBox(
	"&lt;WHAT to="" replace=""&gt;/&lt;WITH what=""&gt;", 
	"Replace In Solid Name", 
	"ReplaceThis/WithThis (keep the '/' as separator)")

If (myparam &amp;lt;&amp;gt; "") Then
	myparams = myparam.Split("/")
	replaceString = myparams(0)
	withString = myparams(1)

	For Each solid In ThisDoc.Document.ComponentDefinition.SurfaceBodies
		name = solid.Name
		name = name.Replace(replaceString, withString)
		solid.Name = name
 	Next
End If&lt;/WITH&gt;&lt;/WHAT&gt;&lt;/PRE&gt;
&lt;P&gt;E.g. if I provided "My/Your" then it will replace all instances of "My" with "Your"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 16:13:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3815156#M137760</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2013-03-26T16:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename. Find &amp; Replace</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3815199#M137761</link>
      <description>&lt;P&gt;Hi tauwkh1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;adam.nagy's code looks like it might work well for you, but I used the code provided by Barbara Han to do something similar in the past as well:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com/2012/02/ilogic-to-rename-all-solid-bodies.html"&gt;http://inventortrenches.blogspot.com/2012/02/ilogic-to-rename-all-solid-bodies.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just thought I'd share that link in case it helps.&lt;/P&gt;&lt;P&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2013 16:36:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3815199#M137761</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2013-03-26T16:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename. Find &amp; Replace</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3895285#M137762</link>
      <description>&lt;P&gt;Thank you for your help. This works perfectly and it was exactly what we wanted.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2013 13:55:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3895285#M137762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-27T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3897092#M137763</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your (PACDrafting's) comment above you talked about pushing values of length, height, and thickness into each individual part file.&amp;nbsp; Can I ask how you generally go about doing this?&amp;nbsp; Do you have a specific parameter for length, height, and thickness tied to each solid body?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2013 13:33:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3897092#M137763</guid>
      <dc:creator>kmiller</dc:creator>
      <dc:date>2013-04-29T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3897119#M137764</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I export only the thickness parameter with the solid into sheet metal parts.&lt;BR /&gt;From there I am able to complete a flat pattern and get the length and width dimensions.</description>
      <pubDate>Mon, 29 Apr 2013 13:40:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3897119#M137764</guid>
      <dc:creator>PACDrafting</dc:creator>
      <dc:date>2013-04-29T13:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3897204#M137765</link>
      <description>&lt;P&gt;Sounds good.&amp;nbsp; Thank you.&amp;nbsp; I was just curious because it would be helpful for us to use something like this.&amp;nbsp; However the material we model potentially&amp;nbsp;each "piece" could and may have a different L, H, Thk.&amp;nbsp; And these dimensions are not always on the same plane.&amp;nbsp; So I was just interested how other people where working with it.&amp;nbsp; I am not too familiar with sheet metal parts so I do not know if there is different functionality with that vs regular parts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the insight though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/3897204#M137765</guid>
      <dc:creator>kmiller</dc:creator>
      <dc:date>2013-04-29T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365134#M137767</link>
      <description>&lt;P&gt;&lt;IMG align="center" src="https://forums.autodesk.com/t5/image/serverpage/image-id/58189i1BFC8621F40BC9FD/image-size/original?v=mpbl-1&amp;amp;px=-1" title="solid.png" alt="solid.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;to rename the solid with a prefix"s" based on the selection made?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 18:15:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365134#M137767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T18:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365167#M137768</link>
      <description>Yes that is possible with this routine&lt;BR /&gt;&lt;BR /&gt;Wessley Hall&lt;BR /&gt;Senior Project Engineer&lt;BR /&gt;Tarrant Interiors&lt;BR /&gt;5000 South Freeway&lt;BR /&gt;Fort Worth, Texas 76115&lt;BR /&gt;Phone (817) 922-5000 ext. 1712&lt;BR /&gt;FAX (817)922-5015&lt;BR /&gt;Email wessley.hall@leggett.com&lt;BR /&gt;&lt;BR /&gt;[cid:image002.jpg@01CE982A.6B5AE350]</description>
      <pubDate>Tue, 13 Aug 2013 18:39:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365167#M137768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T18:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365179#M137769</link>
      <description>&lt;P&gt;I'm sorry I answered you incorrectly. The routine will ask you for what you want to replace with the new information. For example my solid is Steelxx and I want Alumyyy it works like find and replace&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 18:43:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365179#M137769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T18:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365195#M137770</link>
      <description>&lt;P&gt;Hi &amp;nbsp;akosi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have time to look at this at the moment, but this link has an example that looks at Sketch Block names, so it might help you move forward:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/iLogic-code-to-turn-sketch-block-visibility-on-and-off/m-p/4346603#M45357"&gt;http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/iLogic-code-to-turn-sketch-block-visibility-on-and-off/m-p/4346603#M45357&lt;/A&gt;&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 target="_blank" href="http://inventortrenches.blogspot.com"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 18:53:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365195#M137770</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2013-08-13T18:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365227#M137771</link>
      <description>&lt;P&gt;thanks for replying curtis...i was just checking out your inventortrenches blog..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im new in vba and am learning to code from this forum...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i still have so much more to learn..&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2013 19:21:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/4365227#M137771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T19:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multi bodies - auto rename. Find &amp; Replace</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/5178815#M137772</link>
      <description>&lt;P&gt;Could you tell me what I did wrong here?&lt;/P&gt;&lt;P&gt;I'm getting this error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in rule: Name, in document: Frame102-40Deriver.ipt&lt;/P&gt;&lt;P&gt;Conversion from string "22Deriver" to type 'Integer' is not valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 5870 StartFragment: 314 EndFragment: 5838 StartSelection: 314 EndSelection: 314SyntaxEditor Code Snippet&lt;!--  StartFragment  --&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;myparam&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;InputBox&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, 
    &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Replace In Solid Name&lt;/SPAN&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t;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2014 22:09:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/multi-bodies-auto-rename/m-p/5178815#M137772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-27T22:09:20Z</dc:date>
    </item>
  </channel>
</rss>

