<?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 Difference between LinkCAD and Import CAD with File Importing Event in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11879072#M12793</link>
    <description>&lt;P&gt;I am working on a script that runs when the "FileImporting" event is triggered. I had meant for it to only run when the "Import CAD" function is used, however I realized that this function runs when you import OR Link a file. Is there a way to know which of these is happening when the FileImporting event happens? Or is there a different event that I should use?&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 00:52:02 GMT</pubDate>
    <dc:creator>dgoff96</dc:creator>
    <dc:date>2023-04-07T00:52:02Z</dc:date>
    <item>
      <title>Difference between LinkCAD and Import CAD with File Importing Event</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11879072#M12793</link>
      <description>&lt;P&gt;I am working on a script that runs when the "FileImporting" event is triggered. I had meant for it to only run when the "Import CAD" function is used, however I realized that this function runs when you import OR Link a file. Is there a way to know which of these is happening when the FileImporting event happens? Or is there a different event that I should use?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 00:52:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11879072#M12793</guid>
      <dc:creator>dgoff96</dc:creator>
      <dc:date>2023-04-07T00:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between LinkCAD and Import CAD with File Importing Event</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11882324#M12794</link>
      <description>&lt;P&gt;You could check what the last recent entries in the &lt;U&gt;journal file&lt;/U&gt; say. Maybe they can help you tell the difference. Another approach might be to detect what command was launched using&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;&lt;U&gt;DocumentChanged&lt;/U&gt;&lt;/CODE&gt;&lt;SPAN&gt;&lt;U&gt;&amp;nbsp;event&lt;/U&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2020/01/torsion-tools-command-event-and-info-in-da4r.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2020/01/torsion-tools-command-event-and-info-in-da4r.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 15:55:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11882324#M12794</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-04-08T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between LinkCAD and Import CAD with File Importing Event</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11889153#M12795</link>
      <description>&lt;P&gt;Thanks Jeremy,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think you are right that the journal file will hold some answers. I tried with the Document Changed event, but the transaction names were still the same (Import Vector Data). I think that the&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2023/1a0b276f-37f0-e800-e1a7-ecf4446c414f.htm" target="_blank" rel="noopener"&gt;Before Executed&lt;/A&gt;&amp;nbsp;event is the answer, but I'm not quite sure how to implement that one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 22:13:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/difference-between-linkcad-and-import-cad-with-file-importing/m-p/11889153#M12795</guid>
      <dc:creator>dgoff96</dc:creator>
      <dc:date>2023-04-11T22:13:22Z</dc:date>
    </item>
  </channel>
</rss>

