<?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: Part of filepath in titleblock in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6389096#M64750</link>
    <description>&lt;P&gt;Curtis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simmilar cases made it very clear to me.&lt;/P&gt;&lt;P&gt;I'm sure i can get this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2016 07:07:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-17T07:07:58Z</dc:date>
    <item>
      <title>Part of filepath in titleblock</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6382229#M64652</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently working on standardizing the template of the titleblock of our drawings. In de description box are 2 lines; 1 is&amp;nbsp;model description (which is defined in the iProperties of the model) and the othe is project description. This project description I would like to retrieve from the file path where projects are foldered by number and description: D:/Workspace/Documents/Projects/0000 Project name/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like that the project description on the drawing is created from the file path and shows "0000 Project name" in the title block. Is this in anyway possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yordi&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 12:17:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6382229#M64652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-14T12:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Part of filepath in titleblock</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6382594#M64658</link>
      <description>&lt;P&gt;Hi yordi.verbraak,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't understand if you were doing this with iLogic or some other method, but here is an ilogic example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More ilogic examples here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/inventor-customization/thisdoc-path-but-up-one-level/m-p/5990510#M60946" target="_blank"&gt;http://forums.autodesk.com/t5/inventor-customization/thisdoc-path-but-up-one-level/m-p/5990510#M60946&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-general-discussion/project-name-in-title-blocks/m-p/3070762#M405946" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-general-discussion/project-name-in-title-blocks/m-p/3070762#M405946&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 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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;   Dim strName As String
   Dim strArray() As String
   
   strName = ThisDoc.Document.FullFileName
   strArray = Split(strName, "\")
   
   'show full file path
   MessageBox.Show("Full file path : " &amp;amp; vbLf &amp;amp; strName, "iLogic")
   
   'show each member of the string array
	i=0 
   For intCount = LBound(strArray) To UBound(strArray)
      MessageBox.Show("Array member " &amp;amp; i &amp;amp; ": " &amp;amp; vbLf &amp;amp; strArray(i), "iLogic")
	  i=i+1
   Next
   
   'show the project number folder
   'assumes that it is the folder that contains the file
   'therefore we use the upperbound of the array minus 1
   j = UBound(strArray)-1
   MessageBox.Show("The project folder: " &amp;amp; vbLf &amp;amp; strArray(j), "iLogic")
   &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 14:27:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6382594#M64658</guid>
      <dc:creator>Curtis_Waguespack</dc:creator>
      <dc:date>2016-06-14T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Part of filepath in titleblock</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6389096#M64750</link>
      <description>&lt;P&gt;Curtis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simmilar cases made it very clear to me.&lt;/P&gt;&lt;P&gt;I'm sure i can get this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 07:07:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-of-filepath-in-titleblock/m-p/6389096#M64750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-17T07:07:58Z</dc:date>
    </item>
  </channel>
</rss>

