<?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 Programatically Export DWG to IGS in 2016? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5818479#M38627</link>
    <description>&lt;P&gt;Is there any way to programatically export a DWG to IGS? We have AutoCAD 2016 and I'm developing in VB.Net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen a couple other article using older Acad versions and Aruba.exe, but they didnt work for me... namely because Aruba.exe apparently doesnt come with Acad 2016.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2015 21:22:41 GMT</pubDate>
    <dc:creator>mtwohig</dc:creator>
    <dc:date>2015-09-15T21:22:41Z</dc:date>
    <item>
      <title>Programatically Export DWG to IGS in 2016?</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5818479#M38627</link>
      <description>&lt;P&gt;Is there any way to programatically export a DWG to IGS? We have AutoCAD 2016 and I'm developing in VB.Net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen a couple other article using older Acad versions and Aruba.exe, but they didnt work for me... namely because Aruba.exe apparently doesnt come with Acad 2016.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 21:22:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5818479#M38627</guid>
      <dc:creator>mtwohig</dc:creator>
      <dc:date>2015-09-15T21:22:41Z</dc:date>
    </item>
    <item>
      <title>Re : Programatically Export DWG to IGS in 2016?</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5818925#M38628</link>
      <description>&lt;P&gt;aruba.exe has been replaced by&amp;nbsp;acTranslators.exe. Here is some code for 2014/2015:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim cultureName As String = Thread.CurrentThread.CurrentCulture.Name
Dim acadVersion As String = HostApplicationServices.Current.releaseMarketVersion &amp;amp; ".0.0.F"
#If ACAD2014 Then
  Const PRODUCT_KEY As String = "001F1"
#ElseIf ACAD2015 Then
  Const PRODUCT_KEY As String = "001G1"
#End If
Dim licenseTypeAsString As String = "SA" ' Stand Alone
Dim productGlobalRootKey As String = HostApplicationServices.Current.MachineRegistryProductRootKey.Substring(0, _
  HostApplicationServices.Current.MachineRegistryProductRootKey.Length - 4)
Dim licenseTypeAsInt As Integer = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\" &amp;amp; productGlobalRootKey &amp;amp; "AdlM", "Type", 2)
' 1 - Network
' 2 - Standalone
' 3 - Multiseat Standalone
If licenseTypeAsInt = 1 Then
    Dim acadLocation As String = Microsoft.Win32.Registry.GetValue("HKEY_LOCAL_MACHINE\" &amp;amp; _
      HostApplicationServices.Current.MachineRegistryProductRootKey, "AcadLocation", "")
    If "" = acadLocation Then
        Throw New ApplicationException("Read of acad location failed")
    End If
    licenseTypeAsString = "NW -productLicensePath """ &amp;amp; acadLocation &amp;amp; """"
End If

Dim startInfo As New ProcessStartInfo(translatorFullPath, String.Format("-productKey {0} -productVersion {1} -productLicenseType {2}" &amp;amp; _
  " -productResourcePath ""{3}"" -productLicenseLocale {4} -i ""{5}"" -o ""{6}""", PRODUCT_KEY, acadVersion, licenseTypeAsString, _
  Path.Combine(acadDir, "AdlmRes\" &amp;amp; cultureName), cultureName.Replace("-", "_"), inputFullPath, outputFullPath))
startInfo.CreateNoWindow = True
startInfo.RedirectStandardOutput = True
startInfo.UseShellExecute = False

Dim proc As Process
Try
    proc = Process.Start(startInfo)
Catch ex As Win32Exception
  If ex.ErrorCode = &amp;amp;H80004005 Then
    Throw New ApplicationException(String.Format("Program {0} not found.", translatorFullPath))
  Else
    Throw
  End If
End Try

proc.WaitForExit()

Dim errors As String = proc.StandardOutput.ReadToEnd()

If Not String.IsNullOrEmpty(errors) Then
  Throw New ApplicationException(errors)
End If

If proc.ExitCode &amp;lt;&amp;gt; 0 Then
  Throw New ApplicationException(String.Format(Extension.StringResources("ImportFailed"), inputFullPath))
End If&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 07:12:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5818925#M38628</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2015-09-16T07:12:47Z</dc:date>
    </item>
    <item>
      <title>Re : Programatically Export DWG to IGS in 2016?</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5819514#M38629</link>
      <description>&lt;P&gt;Thank you, sir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try this when I get a chance... hopefully by tomorrow night.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 14:08:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/5819514#M38629</guid>
      <dc:creator>mtwohig</dc:creator>
      <dc:date>2015-09-16T14:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Programatically Export DWG to IGS in 2016?</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/10294046#M38630</link>
      <description>&lt;P&gt;hi&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:46:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/10294046#M38630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-06T06:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Programatically Export DWG to IGS in 2016?</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/10294057#M38631</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I am having a problem like above but i read your cmt i don't understand&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Can you give me the code of a program that outputs the igs file from the dwg file?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I thank you very much&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:50:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-export-dwg-to-igs-in-2016/m-p/10294057#M38631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-06T06:50:56Z</dc:date>
    </item>
  </channel>
</rss>

