<?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 Any trick for switching ProjectionType to PerspectiveWithOrthoFaces in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/9153405#M103179</link>
    <description>&lt;P&gt;As far as Autodesk deliberetly ignores customer's requests (archived corresponding idea*) for adding ability to set default&amp;nbsp;ProjectionType to "Perspective With Ortho Faces" I suggest try to invent some trick ourselves.&lt;/P&gt;&lt;P&gt;For example is it possible to emulate calling for ViewCube content menu and then (after a bit delay) emulate pressing "F" (or another "underlined" key according to current Inventor session localization)?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PerspectiveWithOrthoFaces.png" style="width: 418px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/699125i55AAF0D3410E33D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="PerspectiveWithOrthoFaces.png" alt="PerspectiveWithOrthoFaces.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;..and hook this to activatation of 3Dmodel's graphic window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Meant&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/add-perspective-with-ortho-faces-as-a-default-in-application/idi-p/4706557" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/add-perspective-with-ortho-faces-as-a-default-in-application/idi-p/4706557&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 19:07:42 GMT</pubDate>
    <dc:creator>Maxim-CADman77</dc:creator>
    <dc:date>2019-11-18T19:07:42Z</dc:date>
    <item>
      <title>Any trick for switching ProjectionType to PerspectiveWithOrthoFaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/9153405#M103179</link>
      <description>&lt;P&gt;As far as Autodesk deliberetly ignores customer's requests (archived corresponding idea*) for adding ability to set default&amp;nbsp;ProjectionType to "Perspective With Ortho Faces" I suggest try to invent some trick ourselves.&lt;/P&gt;&lt;P&gt;For example is it possible to emulate calling for ViewCube content menu and then (after a bit delay) emulate pressing "F" (or another "underlined" key according to current Inventor session localization)?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PerspectiveWithOrthoFaces.png" style="width: 418px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/699125i55AAF0D3410E33D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="PerspectiveWithOrthoFaces.png" alt="PerspectiveWithOrthoFaces.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;..and hook this to activatation of 3Dmodel's graphic window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Meant&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/add-perspective-with-ortho-faces-as-a-default-in-application/idi-p/4706557" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/inventor-ideas/add-perspective-with-ortho-faces-as-a-default-in-application/idi-p/4706557&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 19:07:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/9153405#M103179</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2019-11-18T19:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Any trick for switching ProjectionType to PerspectiveWithOrthoFaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/9153636#M103182</link>
      <description>&lt;P&gt;I expect that the option PerspectiveWithOrthoFaces is a combination of settings of the camera. If you can figure out what those settings are then you can make an iLogic rule with those settings.&amp;nbsp; That rule could be triggerd on opening of each file? (i couldn't find the correct settings)&lt;/P&gt;&lt;P&gt;Anyway you can check the camera settings like this.&lt;/P&gt;&lt;PRE&gt;Dim cam As Camera = ThisApplication.ActiveView.Camera 
MsgBox(cam.Perspective &amp;amp; " - " &amp;amp; cam.PerspectiveAngle)&lt;/PRE&gt;&lt;P&gt;The properties Perspective and PerspectiveAngle are shown here in a msgbox. More properties can be found in the help files.&lt;/P&gt;&lt;P&gt;If you know what those settings are then your settings rule could look like this:&lt;/P&gt;&lt;PRE&gt;Dim cam As Camera = ThisApplication.ActiveView.Camera 
cam.Perspective = True
cam.PerspectiveAngle = 0.00001
cam.Apply()&lt;/PRE&gt;&lt;P&gt;Maby you want to learn more about working with the camera api, a good starting point are these posts by &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://modthemachine.typepad.com/my_weblog/2013/09/working-with-cameras-part-1.html" target="_blank" rel="noopener"&gt;https://modthemachine.typepad.com/my_weblog/2013/09/working-with-cameras-part-1.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://modthemachine.typepad.com/my_weblog/2013/09/working-with-cameras-part-2.html" target="_blank" rel="noopener"&gt;https://modthemachine.typepad.com/my_weblog/2013/09/working-with-cameras-part-2.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 20:57:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/9153636#M103182</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2019-11-18T20:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Any trick for switching ProjectionType to PerspectiveWithOrthoFaces</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/11191732#M138505</link>
      <description>&lt;P&gt;"Customer solution" that did the trick for me available here - &lt;A href="https://forums.autodesk.com/t5/inventor-forum/set-perspective-with-ortho-facesas-the-default-projection-type/m-p/10178475#M821461" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-forum/set-perspective-with-ortho-facesas-the-default-projection-type/m-p/10178475#M821461&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 09:01:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-trick-for-switching-projectiontype-to/m-p/11191732#M138505</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2022-05-25T09:01:30Z</dc:date>
    </item>
  </channel>
</rss>

