<?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: Importing Properties From Excel By Matching Names Without Occurrence Number &amp;amp; File Extensions in Navisworks Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-forum/importing-properties-from-excel-by-matching-names-without/m-p/9905217#M5358</link>
    <description>&lt;P&gt;I have the same problem to solve and we thought similar about using SQL LEFT... See my post in this forum&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/navisworks-forum/data-tools-link-using-sql-left/td-p/9900036" target="_blank"&gt;https://forums.autodesk.com/t5/navisworks-forum/data-tools-link-using-sql-left/td-p/9900036&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You you solve please let me know please&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 20:29:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-30T20:29:22Z</dc:date>
    <item>
      <title>Importing Properties From Excel By Matching Names Without Occurrence Number &amp; File Extensions</title>
      <link>https://forums.autodesk.com/t5/navisworks-forum/importing-properties-from-excel-by-matching-names-without/m-p/9896486#M5357</link>
      <description>&lt;P&gt;I am trying to run a SQL String that imports data from excel based on matching names without occurrence number &amp;amp; file extensions at the end of the name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a navisworks file with the Selection Tree populated with the Name and occurrence number at the end (eg. FF - FILTER FRAME ASSEMBLY:1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/848888i39BC1EF86FF30803/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I also have an excel file which contains data (on a tab called Inventor3DModelData) with a column called Filename but all values includes the file extension (eg. FF - FILTER FRAME ASSEMBLY.iam)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/848883i5261C89F32F86858/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to import properties into navisworks from excel based on any names that match (without the occurrence numbers or file extensions).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/848885i715B71C702A34DAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SQL String that I have been using in the File Options - Data Tools tab is as follows:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;SELECT * from [Inventor3DModelData$] where LEFT("Filename",(CHARINDEX(".","Filename")-1)) = LEFT(%prop("Item","Name"),(CHARINDEX(":",%prop("Item","Name"))-1));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this is not working for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have previously used the following SQL String without issue if I first export a list of Names (with occurrence numbers) from navisworks then add property data next to this list followed by importing the property data back into navisworks using the code.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;SELECT * from [Inventor3DModelData$] where "Filename"=%prop("Item","Name");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But to generate this list requires the browser tree to be opened to the correct level and selected for the Selection Inspector. This is very time consuming in very large models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hence if I can match the names (without the occurrence numbers or file extensions) in memory when publishing to a nwd file, then this will be very convenient and efficient. Can anyone see why the first SQL String is not working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;Kurt.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 06:52:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-forum/importing-properties-from-excel-by-matching-names-without/m-p/9896486#M5357</guid>
      <dc:creator>kwalker1</dc:creator>
      <dc:date>2020-11-26T06:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Properties From Excel By Matching Names Without Occurrence Number &amp; File Extensions</title>
      <link>https://forums.autodesk.com/t5/navisworks-forum/importing-properties-from-excel-by-matching-names-without/m-p/9905217#M5358</link>
      <description>&lt;P&gt;I have the same problem to solve and we thought similar about using SQL LEFT... See my post in this forum&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/navisworks-forum/data-tools-link-using-sql-left/td-p/9900036" target="_blank"&gt;https://forums.autodesk.com/t5/navisworks-forum/data-tools-link-using-sql-left/td-p/9900036&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You you solve please let me know please&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 20:29:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-forum/importing-properties-from-excel-by-matching-names-without/m-p/9905217#M5358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-30T20:29:22Z</dc:date>
    </item>
  </channel>
</rss>

