<?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: Error creating top view in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8623574#M94985</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/589516"&gt;@NirantarVidyarthee&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the original code, the Point2d is at position (14, 13.9825), which is&amp;nbsp;too close the the base view so that the projected view is failed to be created at this point.&lt;/P&gt;
&lt;P&gt;Changing this line to enlarge coordinate a little bit can fix it:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim insTvY As Double = fv.Position.Y + (0.685 / 2.0) + 2&lt;/P&gt;</description>
    <pubDate>Wed, 27 Feb 2019 02:08:13 GMT</pubDate>
    <dc:creator>JaneFan</dc:creator>
    <dc:date>2019-02-27T02:08:13Z</dc:date>
    <item>
      <title>Error creating top view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8622634#M94977</link>
      <description>&lt;P&gt;I am trying to create front and and top view of a part using VB.Net.&lt;/P&gt;
&lt;P&gt;The code works fine with all other parts. How ever only one particular part is giving me problem.(Exception from HRESULT: 0x80070057 (E_INVALIDARG)))&lt;/P&gt;
&lt;P&gt;The frontview is created all right, but it refuses to generate top view.&lt;/P&gt;
&lt;P&gt;I have tried everything but can't find the clue.&lt;/P&gt;
&lt;P&gt;The specific part and sample code (module) is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 18:01:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8622634#M94977</guid>
      <dc:creator>NirantarVidyarthee</dc:creator>
      <dc:date>2019-02-26T18:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating top view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8623574#M94985</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/589516"&gt;@NirantarVidyarthee&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the original code, the Point2d is at position (14, 13.9825), which is&amp;nbsp;too close the the base view so that the projected view is failed to be created at this point.&lt;/P&gt;
&lt;P&gt;Changing this line to enlarge coordinate a little bit can fix it:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim insTvY As Double = fv.Position.Y + (0.685 / 2.0) + 2&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 02:08:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8623574#M94985</guid>
      <dc:creator>JaneFan</dc:creator>
      <dc:date>2019-02-27T02:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating top view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8624422#M95028</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/538492"&gt;@JaneFan&lt;/a&gt;, it worked. But is there a way to predict the situation (of 'the point too close') before actually generating the projected view and getting an error? The value 2 may be smaller for some other part and may be too large for some other parts.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 12:09:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8624422#M95028</guid>
      <dc:creator>NirantarVidyarthee</dc:creator>
      <dc:date>2019-02-27T12:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating top view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8626520#M95055</link>
      <description>&lt;P&gt;A little bit larger than half of base view height is fine, so we can change Y coordinate of project view referencing to base view height, like this:&lt;/P&gt;
&lt;P&gt;Dim insTvY As Double&lt;BR /&gt;insTvY = fv.Position.Y + (fv.Height / 2#) + &lt;FONT color="#993300"&gt;0.2&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 01:54:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8626520#M95055</guid>
      <dc:creator>JaneFan</dc:creator>
      <dc:date>2019-02-28T01:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating top view</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8628425#M95099</link>
      <description>&lt;P&gt;No, its not related to fv.height but tv.Height.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 18:02:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/error-creating-top-view/m-p/8628425#M95099</guid>
      <dc:creator>NirantarVidyarthee</dc:creator>
      <dc:date>2019-02-28T18:02:41Z</dc:date>
    </item>
  </channel>
</rss>

