<?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: How to change the camera position by AutoCAD API in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-change-the-camera-position-by-autocad-api/m-p/11135611#M13059</link>
    <description>&lt;P&gt;You can set the location of the camera using the AcadObject property of the camera object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Using tr As Transaction = db.TransactionManager.StartTransaction
    Dim cam As Camera = tr.GetObject(res.ObjectId, OpenMode.ForWrite)
    Dim acCam = cam.AcadObject
    acCam.Location = New Double(2) {1, 3, 4}
    tr.Commit()
End Using&lt;/LI-CODE&gt;&lt;P&gt;In the above example the camera position will be set to (1,3,4).&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 15:20:35 GMT</pubDate>
    <dc:creator>hippe013</dc:creator>
    <dc:date>2022-04-28T15:20:35Z</dc:date>
    <item>
      <title>How to change the camera position by AutoCAD API</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-the-camera-position-by-autocad-api/m-p/11135162#M13058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to change the camera position to control the view cube wheel. Is there any process or method by which it can be possible?&lt;/P&gt;&lt;P&gt;Snap for better understanding...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChangeCameraPosition.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1060733iD41C15FE591D4873/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChangeCameraPosition.png" alt="ChangeCameraPosition.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mainly, I have seen while manually, rotate the view cube wheel the camera position has been changed.&lt;/P&gt;&lt;P&gt;My requirement is to set the camera position.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried with a camera class and there are get options only..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kite15_0-1651150351108.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1060760i530E871EBF2FEE82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kite15_0-1651150351108.png" alt="kite15_0-1651150351108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, help...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 12:53:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-the-camera-position-by-autocad-api/m-p/11135162#M13058</guid>
      <dc:creator>kite15</dc:creator>
      <dc:date>2022-04-28T12:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the camera position by AutoCAD API</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-change-the-camera-position-by-autocad-api/m-p/11135611#M13059</link>
      <description>&lt;P&gt;You can set the location of the camera using the AcadObject property of the camera object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Using tr As Transaction = db.TransactionManager.StartTransaction
    Dim cam As Camera = tr.GetObject(res.ObjectId, OpenMode.ForWrite)
    Dim acCam = cam.AcadObject
    acCam.Location = New Double(2) {1, 3, 4}
    tr.Commit()
End Using&lt;/LI-CODE&gt;&lt;P&gt;In the above example the camera position will be set to (1,3,4).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 15:20:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-change-the-camera-position-by-autocad-api/m-p/11135611#M13059</guid>
      <dc:creator>hippe013</dc:creator>
      <dc:date>2022-04-28T15:20:35Z</dc:date>
    </item>
  </channel>
</rss>

