<?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 use pan command in VBA in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743864#M31695</link>
    <description>use zoom center method for zooming around the entity then do the rest.</description>
    <pubDate>Sat, 26 Aug 2006 07:52:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-08-26T07:52:43Z</dc:date>
    <item>
      <title>how to use pan command in VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743861#M31692</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
         I developed short program to record AutoCAD entity coordinate down into disk. However I found that Auto CAD cannot recoganize the entity out of its view port. I hope I can use "pan" command in VBA. Then the program can first move the view port to the entity automaticly. Finally it can use selection method to set the entity.&lt;BR /&gt;
       Any information about using "pan" command in VBA is appreciate. Thanks in advance.</description>
      <pubDate>Wed, 23 Aug 2006 08:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743861#M31692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-23T08:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pan command in VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743862#M31693</link>
      <description>There is no such limitation for objects "out of its view port [sic]".&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;NORDIC_TOR&gt; wrote in message news:5303594@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
         I developed short program to record AutoCAD entity coordinate down &lt;BR /&gt;
into disk. However I found that Auto CAD cannot recoganize the entity out of &lt;BR /&gt;
its view port. I hope I can use "pan" command in VBA. Then the program can &lt;BR /&gt;
first move the view port to the entity automaticly. Finally it can use &lt;BR /&gt;
selection method to set the entity.&lt;BR /&gt;
       Any information about using "pan" command in VBA is appreciate. &lt;BR /&gt;
Thanks in advance.&lt;/NORDIC_TOR&gt;</description>
      <pubDate>Wed, 23 Aug 2006 15:54:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743862#M31693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-23T15:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pan command in VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743863#M31694</link>
      <description>I guess Robert isn't able to figure out what your problem&lt;BR /&gt;
is, so I'll stick my neck out here, and take a guess that &lt;BR /&gt;
you're acquiring the entities using the SelectionSet object, &lt;BR /&gt;
using window/crossing or another visual method.&lt;BR /&gt;
&lt;BR /&gt;
If that's the case, it does not work outside of the view.&lt;BR /&gt;
&lt;BR /&gt;
You should use the acSelectionSetAll mode (possibly&lt;BR /&gt;
with a filter), and then scan the resulting selection set &lt;BR /&gt;
for objects of interest. &lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;NORDIC_TOR&gt; wrote in message news:5303594@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
         I developed short program to record AutoCAD entity coordinate down into disk. However I found that Auto CAD cannot recoganize the entity out of its view port. I hope I can use "pan" command in VBA. Then the program can first move the view port to the entity automaticly. Finally it can use selection method to set the entity.&lt;BR /&gt;
       Any information about using "pan" command in VBA is appreciate. Thanks in advance.&lt;/NORDIC_TOR&gt;</description>
      <pubDate>Wed, 23 Aug 2006 19:41:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743863#M31694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-23T19:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pan command in VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743864#M31695</link>
      <description>use zoom center method for zooming around the entity then do the rest.</description>
      <pubDate>Sat, 26 Aug 2006 07:52:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/1743864#M31695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-26T07:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to use pan command in VBA</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/9375721#M31696</link>
      <description>&lt;P&gt;You must have something in dwg to select in order to get out.&lt;/P&gt;&lt;P&gt;My solution ,from a button on my dialogbox :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Me.Hide&lt;BR /&gt;Dim returnobj As Autocad.AcadObject&lt;BR /&gt;ThisDrawing.Utility.GetEntity returnobj, spt1, "Select something to end pan: "&lt;BR /&gt;Me.Show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have a command line help message.&lt;/P&gt;&lt;P&gt;It is not pan but you can use the scroll to zoom in and out to desired position.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 02:56:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-use-pan-command-in-vba/m-p/9375721#M31696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-13T02:56:46Z</dc:date>
    </item>
  </channel>
</rss>

