<?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: VBA Code for exporting SAT files - Help needed from someone with VBA knowled in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655178#M77974</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;please give me two examples of the export folder depending of the file exported.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The export folder will always be the same \\HKEURVAULT\SAT_FILES&lt;/P&gt;
&lt;P&gt;All of the exported SAT files should be in the same folder with no additional sub folders&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it is clear&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 11:07:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-13T11:07:41Z</dc:date>
    <item>
      <title>VBA Code for exporting SAT files - Help needed from someone with VBA knowledge</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8651941#M77955</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We currently use a simple VBA macro to generate a DXF of a drawing to a specific folder by clicking on a button. We need the same function for creating a SAT file from an IPT (sheet metal part) and I am struggling to make this work. I know it is probably possible with Ilogic but would prefer to just add have this as the same function we have on the DXF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would export the IPT as a 3D model (not the flat pattern) to a specified folder and keep the original filename but as *.SAT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code we use for the DXF export is below. If any VBA experts out there could help with some code for SAT files it would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fred&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Sub EXPORT()&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Dim invApp As Inventor.Application&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Set invApp = ThisApplication&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;invApp.SilentOperation = True&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Dim idwDoc As Inventor.DrawingDocument&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Set idwDoc = invApp.ActiveDocument&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Dim dxfFile As String&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;dxfFile = idwDoc.FullFileName&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;dxfFile = "\\HKEURVAULT\Inventor Resources\DXF_FOR_LAYOUTS\" &amp;amp; idwDoc.DisplayName&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Mid(dxfFile, Len(dxfFile) - 3) = ".dxf"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;With invApp.CommandManager&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Call .PostPrivateEvent(kFileNameEvent, dxfFile)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Call .StartCommand(kFileSaveCopyAsCommand)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;End With&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Set idwDoc = Nothing&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;invApp.SilentOperation = False&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Set invApp = Nothing&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;End Sub&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:55:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8651941#M77955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T08:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652060#M77956</link>
      <description>&lt;PRE&gt;Module CreateSatFile

    Private m_invApp As Inventor.Application

    Public Sub ExportToSat()

        set m_invApp = thisapplication
        Dim oSATTrans As TranslatorAddIn

        set oSATTrans = m_invApp.ApplicationAddIns.ItemById("{89162634-02B6-11D5-8E80-0010B541CD80}")

        If oSATTrans Is Nothing Then
                        Exit Sub
        End If

        Dim oContext As TranslationContext
        set oContext = m_invApp.TransientObjects.CreateTranslationContext
        Dim oOptions As NameValueMap
        set oOptions = m_invApp.TransientObjects.CreateNameValueMap

        If oSATTrans.HasSaveCopyAsOptions(m_invApp.ActiveDocument, oContext, oOptions) Then

            oOptions.Value("ExportUnits") = 5

            oContext.Type = IOMechanismEnum.kFileBrowseIOMechanism

            Dim oData As DataMedium

            set oData = m_invApp.TransientObjects.CreateDataMedium

            oData.FileName = "C:\test\TEST.sat"

            Call oSATTrans.SaveCopyAs(m_invApp.ActiveDocument, oContext, oOptions, oData)

        End If

    End Sub

End Module&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:50:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652060#M77956</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T09:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652596#M77957</link>
      <description>&lt;P&gt;Thanks for the code....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I set a default network folder and keep the same filename so everytime we save a SAT it goes to a network folder as the existing filename but as a SAT file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652596#M77957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652623#M77958</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your network drive called?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:55:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652623#M77958</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652636#M77959</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;\\hkeurvault\&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:59:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652636#M77959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652643#M77960</link>
      <description>&lt;P&gt;and your project drive:&lt;/P&gt;
&lt;P&gt;like c or d&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:01:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652643#M77960</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T14:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652666#M77961</link>
      <description>&lt;P&gt;Than use this:&lt;/P&gt;
&lt;P&gt;new programmed for network drive:&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #666666; cursor: text; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;c:\" &amp;gt;&amp;gt;&amp;gt;&amp;gt; to&amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;gt;"\\hkeurvault\&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;    Private m_invApp As Inventor.Application

    Public Sub ExportToSat()

        Set m_invApp = ThisApplication
        Dim oSATTrans As TranslatorAddIn

        Set oSATTrans = m_invApp.ApplicationAddIns.ItemById("{89162634-02B6-11D5-8E80-0010B541CD80}")

        If oSATTrans Is Nothing Then
        Exit Sub
        End If

        Dim oContext As TranslationContext
        Set oContext = m_invApp.TransientObjects.CreateTranslationContext
        Dim oOptions As NameValueMap
        Set oOptions = m_invApp.TransientObjects.CreateNameValueMap

        If oSATTrans.HasSaveCopyAsOptions(m_invApp.ActiveDocument, oContext, oOptions) Then

            oOptions.Value("ExportUnits") = 5

            oContext.Type = IOMechanismEnum.kFileBrowseIOMechanism

            Dim oData As DataMedium

            Set oData = m_invApp.TransientObjects.CreateDataMedium

            'oData.FileName = "C:\test\TEST.sat"
            
            Dim oSatFileName As String
            oSatFileName = Replace(m_invApp.ActiveDocument.FullFileName, ".ipt", ".sat") ' ipt to sat
            oSatFileName = Replace(m_invApp.ActiveDocument.FullFileName, "c:\", "\\hkeurvault\") ' c:\ to \\hkeurvault\
            oData.FileName = oSatFileName

            Call oSATTrans.SaveCopyAs(m_invApp.ActiveDocument, oContext, oOptions, oData)

        End If&lt;/PRE&gt;
&lt;P&gt;Hope this will help you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:06:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652666#M77961</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T14:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652688#M77962</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the drives are networked and we don't use a mapped drive letter and use the full syntax (see attached)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:13:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652688#M77962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652695#M77963</link>
      <description>&lt;P&gt;than use the last posted code...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Autodesk Software:&lt;/STRONG&gt; Inventor Professional 2018 | Vault Professional 2018 | Autocad Mechanical 2018&lt;BR /&gt;&lt;STRONG&gt;Programming Skills:&lt;/STRONG&gt; Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/dimension-component-part-and-assembly/idi-p/7523011" target="_blank"&gt;Dimension Component!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/export-partlist-default-configuration/idc-p/7422221#M21416" target="_blank"&gt;Partlist Export!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/derived-part-and-assembly-copy-i-properties/idi-p/6349392" target="_blank"&gt;Derive I-properties!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/inventor-vault-prompts-settings-amp-vault-prompts-settings-via/idi-p/7641767" target="_blank"&gt;Vault Prompts Via API!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/vault-ideas/vault-professional-handbook-or-manual-to-be-provided/idi-p/7653669" target="_blank"&gt;Vault Handbook/Manual!&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/drawing-toggle-sheets/idi-p/7708757" target="_blank"&gt;Drawing Toggle Sheets!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/open-files-automatically-with-quot-defer-update-quot-on-read/idi-p/7762709" target="_blank"&gt;Vault Defer Update!&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;! For administrative reasons, please mark a &lt;STRONG&gt;"Solution as solved"&lt;/STRONG&gt; when the issue is solved !&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:15:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652695#M77963</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652730#M77964</link>
      <description>&lt;P&gt;Getting there....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now getting an error (see attached)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:28:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652730#M77964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652740#M77965</link>
      <description>&lt;P&gt;Are you using inventor 2015?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:30:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652740#M77965</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652775#M77966</link>
      <description>&lt;P&gt;this will do the trick:&lt;/P&gt;
&lt;PRE&gt;    Public Sub ExportToSat()

        Set m_invApp = ThisApplication
        Dim oSATTrans As TranslatorAddIn

        Set oSATTrans = m_invApp.ApplicationAddIns.ItemById("{89162634-02B6-11D5-8E80-0010B541CD80}")

        If oSATTrans Is Nothing Then
        Exit Sub
        End If

        Dim oContext As TranslationContext
        Set oContext = m_invApp.TransientObjects.CreateTranslationContext
        Dim oOptions As NameValueMap
        Set oOptions = m_invApp.TransientObjects.CreateNameValueMap

        If oSATTrans.HasSaveCopyAsOptions(m_invApp.ActiveDocument, oContext, oOptions) Then

            oOptions.Value("ExportUnits") = 5

            oContext.Type = IOMechanismEnum.kFileBrowseIOMechanism

            Dim oData As DataMedium

            Set oData = m_invApp.TransientObjects.CreateDataMedium

            'oData.FileName = "C:\test\TEST.sat"
            
            Dim oSatFileName As String
            
            oSatFileName = Replace(m_invApp.ActiveDocument.FullFileName, ".ipt", ".sat") ' ipt to sat
            oSatFileName = Replace(m_invApp.ActiveDocument.FullFileName, "C:\", "\\hkeurvault\") ' c:\ to \\hkeurvault\
            MsgBox oSatFileName
            oData.FileName = oSatFileName

            Call oSATTrans.SaveCopyAs(m_invApp.ActiveDocument, oContext, oOptions, oData)

        End If

    End Sub&lt;/PRE&gt;
&lt;P&gt;the drive c: was written to lower and must be upper C:&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:42:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8652775#M77966</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-12T14:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654933#M77967</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is now trying to create an odd folder string but maybe I didn't explain the current structure correctly....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using Vault and the local path for our files are C:\VAULT\DESIGNS\ and then we separate the folders further by customer and part number etc. The SAT files we need are for our brake press and need to be on the network server in a flat folder structure her \\hkeurvault\SAT_FILES\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems like the code is creating a mixture of the network path and the local path? I attached a couple of screenshots.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 09:10:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654933#M77967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T09:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654940#M77968</link>
      <description>&lt;P&gt;So:&lt;/P&gt;
&lt;P&gt;The files are located always in for example:&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;C:\VAULT\DESIGNS\&lt;/SPAN&gt;Customer001\Brake.ipt&lt;/P&gt;
&lt;P&gt;and must be exported always to:&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; \\hkeurvault\SAT_FILES\&lt;/SPAN&gt;Brake.sat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 09:14:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654940#M77968</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-13T09:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654952#M77969</link>
      <description>&lt;P&gt;Then this should work:&lt;/P&gt;
&lt;PRE&gt;  Public Sub ExportToSat()

        Set m_invApp = ThisApplication
        Dim oSATTrans As TranslatorAddIn

        Set oSATTrans = m_invApp.ApplicationAddIns.ItemById("{89162634-02B6-11D5-8E80-0010B541CD80}")

        If oSATTrans Is Nothing Then
        Exit Sub
        End If

        Dim oContext As TranslationContext
        Set oContext = m_invApp.TransientObjects.CreateTranslationContext
        Dim oOptions As NameValueMap
        Set oOptions = m_invApp.TransientObjects.CreateNameValueMap

        If oSATTrans.HasSaveCopyAsOptions(m_invApp.ActiveDocument, oContext, oOptions) Then

            oOptions.Value("ExportUnits") = 5

            oContext.Type = IOMechanismEnum.kFileBrowseIOMechanism

            Dim oData As DataMedium

            Set oData = m_invApp.TransientObjects.CreateDataMedium
            
            Dim oSatFileName As String
            
            oSatFileName = Replace(m_invApp.ActiveDocument.FullFileName, ".ipt", ".sat") ' ipt to sat
            On Error Resume Next
    
            MkDir ("\\hkeurvault\SAT_FILES\")
            
            Err.Clear
            
            oData.FileName = "\\hkeurvault\SAT_FILES\" &amp;amp; oSatFileName

            Call oSATTrans.SaveCopyAs(m_invApp.ActiveDocument, oContext, oOptions, oData)

        End If

    End Sub&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 09:19:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654952#M77969</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-13T09:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654960#M77970</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes that is correct but obviously the IPT folder varies every time depending on which files we are exporting to the network.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 09:21:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654960#M77970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654965#M77971</link>
      <description>&lt;P&gt;please give me two examples of the export folder depending of the file exported.&lt;/P&gt;
&lt;P&gt;and please give me the feedback I need to have about what is defining the folder names...&lt;/P&gt;
&lt;P&gt;see the new code posted too...&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 09:25:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8654965#M77971</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-03-13T09:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655000#M77972</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see screen shots...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Capture6 = current error with new code&lt;/P&gt;
&lt;P&gt;Capture7 = IPT typical folder&lt;/P&gt;
&lt;P&gt;Capture8 = Network folder (SAT file is there from a manual savecopyas test)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 09:44:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655000#M77972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T09:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655034#M77973</link>
      <description>&lt;P&gt;Yes still on Inventor 2015 until the end of the year&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 10:01:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655034#M77973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T10:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code for exporting SAT files - Help needed from someone with VBA knowled</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655178#M77974</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;please give me two examples of the export folder depending of the file exported.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The export folder will always be the same \\HKEURVAULT\SAT_FILES&lt;/P&gt;
&lt;P&gt;All of the exported SAT files should be in the same folder with no additional sub folders&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it is clear&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 11:07:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/vba-code-for-exporting-sat-files-help-needed-from-someone-with/m-p/8655178#M77974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T11:07:41Z</dc:date>
    </item>
  </channel>
</rss>

