<?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 Problems with Exporting to 2D DWG, 3D DWG and DWF in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767322#M68883</link>
    <description>&lt;P&gt;Hello. I am trying to export some 3D and 2D drawings from an Inventor Assembly via the Inventor C# API, for use in FME in order to combine the model views with geospatial data. I have tried using three different exports from Inventor, and I am having different problems with each one. I would be very grateful for any advice on how to solve any of these issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) For the 2D DWG, I use the corresponding translator addin (as specified in the first part of this page:&amp;nbsp;&lt;A href="http://www.coolorange.com/wiki/doku.php?id=powerjobs:jobprocessor:code_reference:cmdlets:export-document:dwg" target="_blank"&gt;http://www.coolorange.com/wiki/doku.php?id=powerjobs:jobprocessor:code_reference:cmdlets:export-document:dwg&lt;/A&gt; ). Even though my .ini file specifies that the drawing should be in model space, the coordinates of the 2D object in the resulting DWG are not what I expect them to be. Somehow I lose the geospatial location of the object, and subsequently cannot easily place it on a map where it should be. Could there be something else I'm doing wrong, which results in the 2D DWG not having the correct coordinates? I am using the 'MODEL GEOMETRY ONLY=Yes' and 'SPACE=Model' options in the .ini file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) When I have a fairly complex object assembly located near the origin, the 3D DWG file gets exported very quickly, in less than a second, using the second translator addin described in the link above. However, when my object has geospatial coordinates (for example, when located in London in British National Grid coordinate system, the coordinates could be something like&amp;nbsp;529629.29,&amp;nbsp;177953.61, in metres), the same model takes a very long time to export its 3D DWG (taking several days in some cases). Is it normal that just being far from the origin of the coordinate system should result in such long export times? Is there something I could do to ameliorate this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) When I export a DWF drawing using the DWF translator addin, I end up with two different versions of the assembly model&amp;nbsp;within that DWF file (or possibly two similar looking parts of the assembly) in two different places in the DWF: one in the correct geospatial location (e.g. 529629.29, 177953.61) and one invariably near the origin. The only option I am setting when exporting the DWF this way is the following:&lt;/P&gt;&lt;P&gt;options.Value["Publish_Mode"] = DWFPublishModeEnum.kCompleteDWFPublish;&lt;/P&gt;&lt;P&gt;Can anyone tell me why the assembly might be splitting or duplicating itself in that way in the exported DWF file, and if there are any options I might use to have the DWF only contain the model at the correct Model Space coordinates (geospatial coordinates in my case)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if it would help for me to include other files or code in addition to what I have stated above.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Dec 2016 11:20:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-23T11:20:08Z</dc:date>
    <item>
      <title>Problems with Exporting to 2D DWG, 3D DWG and DWF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767322#M68883</link>
      <description>&lt;P&gt;Hello. I am trying to export some 3D and 2D drawings from an Inventor Assembly via the Inventor C# API, for use in FME in order to combine the model views with geospatial data. I have tried using three different exports from Inventor, and I am having different problems with each one. I would be very grateful for any advice on how to solve any of these issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) For the 2D DWG, I use the corresponding translator addin (as specified in the first part of this page:&amp;nbsp;&lt;A href="http://www.coolorange.com/wiki/doku.php?id=powerjobs:jobprocessor:code_reference:cmdlets:export-document:dwg" target="_blank"&gt;http://www.coolorange.com/wiki/doku.php?id=powerjobs:jobprocessor:code_reference:cmdlets:export-document:dwg&lt;/A&gt; ). Even though my .ini file specifies that the drawing should be in model space, the coordinates of the 2D object in the resulting DWG are not what I expect them to be. Somehow I lose the geospatial location of the object, and subsequently cannot easily place it on a map where it should be. Could there be something else I'm doing wrong, which results in the 2D DWG not having the correct coordinates? I am using the 'MODEL GEOMETRY ONLY=Yes' and 'SPACE=Model' options in the .ini file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) When I have a fairly complex object assembly located near the origin, the 3D DWG file gets exported very quickly, in less than a second, using the second translator addin described in the link above. However, when my object has geospatial coordinates (for example, when located in London in British National Grid coordinate system, the coordinates could be something like&amp;nbsp;529629.29,&amp;nbsp;177953.61, in metres), the same model takes a very long time to export its 3D DWG (taking several days in some cases). Is it normal that just being far from the origin of the coordinate system should result in such long export times? Is there something I could do to ameliorate this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) When I export a DWF drawing using the DWF translator addin, I end up with two different versions of the assembly model&amp;nbsp;within that DWF file (or possibly two similar looking parts of the assembly) in two different places in the DWF: one in the correct geospatial location (e.g. 529629.29, 177953.61) and one invariably near the origin. The only option I am setting when exporting the DWF this way is the following:&lt;/P&gt;&lt;P&gt;options.Value["Publish_Mode"] = DWFPublishModeEnum.kCompleteDWFPublish;&lt;/P&gt;&lt;P&gt;Can anyone tell me why the assembly might be splitting or duplicating itself in that way in the exported DWF file, and if there are any options I might use to have the DWF only contain the model at the correct Model Space coordinates (geospatial coordinates in my case)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if it would help for me to include other files or code in addition to what I have stated above.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 11:20:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767322#M68883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T11:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Exporting to 2D DWG, 3D DWG and DWF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767486#M68884</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First thing, welcome to the community..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second thing..&amp;nbsp; When posting its a good idea to tell us what version of Inventor you're using..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final thing..&amp;nbsp; This is the general Inventor forum and it appears that you are writing some in-depth program..&amp;nbsp; So I strongly suggest that you post over in the &lt;A href="https://forums.autodesk.com/t5/inventor-customization/bd-p/120" target="_blank"&gt;Inventor Customization Forum&lt;/A&gt; to get a better results.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 13:30:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767486#M68884</guid>
      <dc:creator>Mark.Lancaster</dc:creator>
      <dc:date>2016-12-23T13:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Exporting to 2D DWG, 3D DWG and DWF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767496#M68885</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Autodesk Inventor Professional 2016 (Build 236).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah, fair enough about the forum - is it possible to move my thread there, or should I post anew in the Customization&amp;nbsp;forum?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 13:33:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767496#M68885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T13:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Exporting to 2D DWG, 3D DWG and DWF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767508#M68886</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either start one in that forum or use the report link next to your posting and tell the moderator to relocate it..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also as a heads up..&amp;nbsp; We don't go by build #s in Inventor..&amp;nbsp; Specify the service pack and/or release (like R2, R3, and etc)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 13:39:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767508#M68886</guid>
      <dc:creator>Mark.Lancaster</dc:creator>
      <dc:date>2016-12-23T13:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Exporting to 2D DWG, 3D DWG and DWF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767513#M68887</link>
      <description>&lt;P&gt;Thanks again Mark, I've used the report link to request that the thread be moved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Release 2016.2.2.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2016 13:43:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6767513#M68887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-23T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Exporting to 2D DWG, 3D DWG and DWF</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6795753#M69240</link>
      <description>&lt;P&gt;I should probably note that while in the OP I linked to something related to coolOrange, I only did so because it was the only web page I could find that talked about the 2D and 3D DWG Inventor TranslatorAddins and details of their .ini files. What I am actually using is simply the Inventor API via C# to create 2D and 3D DWG outputs from an assembly document, nothing more.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 16:11:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/problems-with-exporting-to-2d-dwg-3d-dwg-and-dwf/m-p/6795753#M69240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T16:11:20Z</dc:date>
    </item>
  </channel>
</rss>

