<?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: Setting ArcSmoothness in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630097#M34811</link>
    <description>What did you think his code was changing?&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan</description>
    <pubDate>Wed, 03 May 2006 22:25:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-05-03T22:25:01Z</dc:date>
    <item>
      <title>Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630084#M34798</link>
      <description>I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.</description>
      <pubDate>Tue, 02 May 2006 11:34:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630084#M34798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-02T11:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630085#M34799</link>
      <description>The value displayed in the Preferences dialog is the VIEWRES system variable &lt;BR /&gt;
not the arc smoothness. Try this example to see what I mean.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
Public Sub Test()&lt;BR /&gt;
  MsgBox ThisDrawing.ActiveViewport.ArcSmoothness&lt;BR /&gt;
  ThisDrawing.ActiveViewport.ArcSmoothness = 1234&lt;BR /&gt;
  MsgBox ThisDrawing.ActiveViewport.ArcSmoothness&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the &lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;</description>
      <pubDate>Tue, 02 May 2006 12:15:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630085#M34799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-02T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630086#M34800</link>
      <description>Joe,&lt;BR /&gt;
&lt;BR /&gt;
Then perhaps my question should be, "How do I change the ViewRes system variable using VBA?"&lt;BR /&gt;
&lt;BR /&gt;
The point is that I want to have the effect that changing "ArcSmoothness" within the Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt; menu.  &lt;BR /&gt;
&lt;BR /&gt;
When I change this value to, say, 1000 in a drawing, I get the effect that I want.  But I cannot get this effect using &lt;BR /&gt;
VBA.  &lt;BR /&gt;
&lt;BR /&gt;
Why would they name something&lt;BR /&gt;
ThisDrawing.ActiveViewport.ArcSmoothness&lt;BR /&gt;
if it doesn't change the preference item with the exact same name?&lt;BR /&gt;
&lt;BR /&gt;
-Tony.</description>
      <pubDate>Wed, 03 May 2006 01:56:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630086#M34800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T01:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630087#M34801</link>
      <description>VIEWRES is a command not a system variable.&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan</description>
      <pubDate>Wed, 03 May 2006 05:46:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630087#M34801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T05:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630088#M34802</link>
      <description>Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the &lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;</description>
      <pubDate>Wed, 03 May 2006 08:26:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630088#M34802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630089#M34803</link>
      <description>Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message &lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;</description>
      <pubDate>Wed, 03 May 2006 08:47:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630089#M34803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T08:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630090#M34804</link>
      <description>His code works fine, it's just not changing what he thinks it's changing.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message &lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;</description>
      <pubDate>Wed, 03 May 2006 09:41:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630090#M34804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630091#M34805</link>
      <description>Jorge, you are correct. The key is to reset the Active(P)Viewport to the &lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are &lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message &lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;</description>
      <pubDate>Wed, 03 May 2006 15:54:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630091#M34805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630092#M34806</link>
      <description>Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message &lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;</description>
      <pubDate>Wed, 03 May 2006 17:01:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630092#M34806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T17:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630093#M34807</link>
      <description>Yes, it's changing what he thinks it should be changing.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message &lt;BR /&gt;
news:5161921@discussion.autodesk.com...&lt;BR /&gt;
His code works fine, it's just not changing what he thinks it's changing.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;</description>
      <pubDate>Wed, 03 May 2006 17:47:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630093#M34807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630094#M34808</link>
      <description>That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message &lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;</description>
      <pubDate>Wed, 03 May 2006 20:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630094#M34808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T20:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630095#M34809</link>
      <description>Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message &lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;</description>
      <pubDate>Wed, 03 May 2006 20:14:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630095#M34809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T20:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630096#M34810</link>
      <description>Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message &lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;</description>
      <pubDate>Wed, 03 May 2006 21:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630096#M34810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T21:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630097#M34811</link>
      <description>What did you think his code was changing?&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan</description>
      <pubDate>Wed, 03 May 2006 22:25:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630097#M34811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-03T22:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630098#M34812</link>
      <description>Ah, you're a quick study, grasshopper! Not quite quick enough for my taste, &lt;BR /&gt;
but quick nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message &lt;BR /&gt;
news:5163026@discussion.autodesk.com...&lt;BR /&gt;
Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;</description>
      <pubDate>Fri, 05 May 2006 11:51:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630098#M34812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-05T11:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630099#M34813</link>
      <description>Joe&lt;BR /&gt;
&lt;BR /&gt;
Have you been indoctrinated by aliens?&lt;BR /&gt;
&lt;BR /&gt;
You sure are not the person I remember you used to be.&lt;BR /&gt;
&lt;BR /&gt;
Now you're rude, arrogant, but even worse...&lt;BR /&gt;
&lt;BR /&gt;
....your repeatedly wrong.&lt;BR /&gt;
&lt;BR /&gt;
Over the previous months you've done a fantastic hatchet job on yourself,&lt;BR /&gt;
destroying your reputation bit by bit, to the point I would not even&lt;BR /&gt;
consider looking at your book in my local bookshop let alone purchasing it.&lt;BR /&gt;
&lt;BR /&gt;
It amazes me how you got a puplishing deal&lt;BR /&gt;
&lt;BR /&gt;
You're a sad twat.&lt;BR /&gt;
&lt;BR /&gt;
Dave F.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5165054@discussion.autodesk.com...&lt;BR /&gt;
Ah, you're a quick study, grasshopper! Not quite quick enough for my taste,&lt;BR /&gt;
but quick nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5163026@discussion.autodesk.com...&lt;BR /&gt;
Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;</description>
      <pubDate>Fri, 05 May 2006 17:18:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630099#M34813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-05T17:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630100#M34814</link>
      <description>I Double# that.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Dave F." &lt;DF&gt; wrote in message &lt;BR /&gt;
news:5165702@discussion.autodesk.com...&lt;BR /&gt;
Joe&lt;BR /&gt;
&lt;BR /&gt;
Have you been indoctrinated by aliens?&lt;BR /&gt;
&lt;BR /&gt;
You sure are not the person I remember you used to be.&lt;BR /&gt;
&lt;BR /&gt;
Now you're rude, arrogant, but even worse...&lt;BR /&gt;
&lt;BR /&gt;
....your repeatedly wrong.&lt;BR /&gt;
&lt;BR /&gt;
Over the previous months you've done a fantastic hatchet job on yourself,&lt;BR /&gt;
destroying your reputation bit by bit, to the point I would not even&lt;BR /&gt;
consider looking at your book in my local bookshop let alone purchasing it.&lt;BR /&gt;
&lt;BR /&gt;
It amazes me how you got a puplishing deal&lt;BR /&gt;
&lt;BR /&gt;
You're a sad twat.&lt;BR /&gt;
&lt;BR /&gt;
Dave F.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5165054@discussion.autodesk.com...&lt;BR /&gt;
Ah, you're a quick study, grasshopper! Not quite quick enough for my taste,&lt;BR /&gt;
but quick nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5163026@discussion.autodesk.com...&lt;BR /&gt;
Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/DF&gt;</description>
      <pubDate>Fri, 05 May 2006 18:03:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630100#M34814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-05T18:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630101#M34815</link>
      <description>what does the # sign do?   &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; sorry couldn't help it...&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message &lt;BR /&gt;
news:5165800@discussion.autodesk.com...&lt;BR /&gt;
I Double# that.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Dave F." &lt;DF&gt; wrote in message&lt;BR /&gt;
news:5165702@discussion.autodesk.com...&lt;BR /&gt;
Joe&lt;BR /&gt;
&lt;BR /&gt;
Have you been indoctrinated by aliens?&lt;BR /&gt;
&lt;BR /&gt;
You sure are not the person I remember you used to be.&lt;BR /&gt;
&lt;BR /&gt;
Now you're rude, arrogant, but even worse...&lt;BR /&gt;
&lt;BR /&gt;
....your repeatedly wrong.&lt;BR /&gt;
&lt;BR /&gt;
Over the previous months you've done a fantastic hatchet job on yourself,&lt;BR /&gt;
destroying your reputation bit by bit, to the point I would not even&lt;BR /&gt;
consider looking at your book in my local bookshop let alone purchasing it.&lt;BR /&gt;
&lt;BR /&gt;
It amazes me how you got a puplishing deal&lt;BR /&gt;
&lt;BR /&gt;
You're a sad twat.&lt;BR /&gt;
&lt;BR /&gt;
Dave F.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5165054@discussion.autodesk.com...&lt;BR /&gt;
Ah, you're a quick study, grasshopper! Not quite quick enough for my taste,&lt;BR /&gt;
but quick nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5163026@discussion.autodesk.com...&lt;BR /&gt;
Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/DF&gt;&lt;/JORGE&gt;</description>
      <pubDate>Fri, 05 May 2006 20:24:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630101#M34815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-05T20:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630102#M34816</link>
      <description>From the looks of your command of the English language I can see why you did &lt;BR /&gt;
not!&lt;BR /&gt;
&lt;BR /&gt;
At least I've not sunk to name calling. Also, it's amazing how the last week &lt;BR /&gt;
or so has turned into months. Hmm, I must not be able to count either.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
"Dave F." &lt;DF&gt; wrote in message &lt;BR /&gt;
news:5165702@discussion.autodesk.com...&lt;BR /&gt;
Joe&lt;BR /&gt;
&lt;BR /&gt;
Have you been indoctrinated by aliens?&lt;BR /&gt;
&lt;BR /&gt;
You sure are not the person I remember you used to be.&lt;BR /&gt;
&lt;BR /&gt;
Now you're rude, arrogant, but even worse...&lt;BR /&gt;
&lt;BR /&gt;
....your repeatedly wrong.&lt;BR /&gt;
&lt;BR /&gt;
Over the previous months you've done a fantastic hatchet job on yourself,&lt;BR /&gt;
destroying your reputation bit by bit, to the point I would not even&lt;BR /&gt;
consider looking at your book in my local bookshop let alone purchasing it.&lt;BR /&gt;
&lt;BR /&gt;
It amazes me how you got a puplishing deal&lt;BR /&gt;
&lt;BR /&gt;
You're a sad twat.&lt;BR /&gt;
&lt;BR /&gt;
Dave F.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5165054@discussion.autodesk.com...&lt;BR /&gt;
Ah, you're a quick study, grasshopper! Not quite quick enough for my taste,&lt;BR /&gt;
but quick nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5163026@discussion.autodesk.com...&lt;BR /&gt;
Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/DF&gt;</description>
      <pubDate>Fri, 05 May 2006 23:46:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630102#M34816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-05T23:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting ArcSmoothness</title>
      <link>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630103#M34817</link>
      <description>For professional programmers who know what they are doing, nothing.&lt;BR /&gt;
&lt;BR /&gt;
"Paul Richardson" &lt;SPAMTHIS&gt; wrote in message &lt;BR /&gt;
news:5166030@discussion.autodesk.com...&lt;BR /&gt;
what does the # sign do?   &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; sorry couldn't help it...&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
gl - Paul&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5165800@discussion.autodesk.com...&lt;BR /&gt;
I Double# that.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Dave F." &lt;DF&gt; wrote in message&lt;BR /&gt;
news:5165702@discussion.autodesk.com...&lt;BR /&gt;
Joe&lt;BR /&gt;
&lt;BR /&gt;
Have you been indoctrinated by aliens?&lt;BR /&gt;
&lt;BR /&gt;
You sure are not the person I remember you used to be.&lt;BR /&gt;
&lt;BR /&gt;
Now you're rude, arrogant, but even worse...&lt;BR /&gt;
&lt;BR /&gt;
....your repeatedly wrong.&lt;BR /&gt;
&lt;BR /&gt;
Over the previous months you've done a fantastic hatchet job on yourself,&lt;BR /&gt;
destroying your reputation bit by bit, to the point I would not even&lt;BR /&gt;
consider looking at your book in my local bookshop let alone purchasing it.&lt;BR /&gt;
&lt;BR /&gt;
It amazes me how you got a puplishing deal&lt;BR /&gt;
&lt;BR /&gt;
You're a sad twat.&lt;BR /&gt;
&lt;BR /&gt;
Dave F.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5165054@discussion.autodesk.com...&lt;BR /&gt;
Ah, you're a quick study, grasshopper! Not quite quick enough for my taste,&lt;BR /&gt;
but quick nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5163026@discussion.autodesk.com...&lt;BR /&gt;
Ah, the art of the written word !&lt;BR /&gt;
I'm sure you are a master of the trade&lt;BR /&gt;
&lt;BR /&gt;
This sounds good:&lt;BR /&gt;
please accept my apology..&lt;BR /&gt;
&lt;BR /&gt;
This sounds cynical:&lt;BR /&gt;
Oh please accept my apology...&lt;BR /&gt;
&lt;BR /&gt;
But you'll get the benefit of the doubt.&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162934@discussion.autodesk.com...&lt;BR /&gt;
Oh please accept my apology ...&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5162924@discussion.autodesk.com...&lt;BR /&gt;
That is definitely not good PR&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Joe Sutphin" &lt;JOESUTPHIN&gt; wrote in message&lt;BR /&gt;
news:5162636@discussion.autodesk.com...&lt;BR /&gt;
Whatever you say ...&lt;BR /&gt;
&lt;BR /&gt;
"R. Robert Bell" &lt;NOT.ROBERTB&gt; wrote in message&lt;BR /&gt;
news:5162466@discussion.autodesk.com...&lt;BR /&gt;
Jorge, you are correct. The key is to reset the Active(P)Viewport to the&lt;BR /&gt;
modified (P)Viewport object.&lt;BR /&gt;
&lt;BR /&gt;
Joe, if you run Jorge's code and then run ViewRes, you will see you are&lt;BR /&gt;
incorrect.&lt;BR /&gt;
&lt;BR /&gt;
Sub Test()&lt;BR /&gt;
  Dim myVPort As AcadViewport&lt;BR /&gt;
  Set myVPort = ThisDrawing.ActiveViewport&lt;BR /&gt;
  myVPort.ArcSmoothness = 1000 '&amp;lt;- change here&lt;BR /&gt;
  ThisDrawing.ActiveViewport = myVPort&lt;BR /&gt;
  SendCommand "._ViewRes   " '&amp;lt;- note command line&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161918@discussion.autodesk.com...&lt;BR /&gt;
Oops, I think I'm wrong about this.&lt;BR /&gt;
&lt;BR /&gt;
Your code should work but need to set the active viewport again.&lt;BR /&gt;
For example, this code works&lt;BR /&gt;
&lt;BR /&gt;
Dim myvport As AcadViewport&lt;BR /&gt;
&lt;BR /&gt;
Set myvport = ThisDrawing.ActiveViewport&lt;BR /&gt;
 myvport.ArcSmoothness = 3000&lt;BR /&gt;
 ThisDrawing.ActiveViewport = myvport&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jorge Jimenez" &lt;JORGE&gt; wrote in message&lt;BR /&gt;
news:5161896@discussion.autodesk.com...&lt;BR /&gt;
Tony, I believe the only way to set this&lt;BR /&gt;
is using the viewres command.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;TONY.&gt; wrote in message news:5160646@discussion.autodesk.com...&lt;BR /&gt;
I can't  get VBA to set the Arc Smoothness preference which is located at:&lt;BR /&gt;
Tools--&amp;gt;Options--&amp;gt;Display--&amp;gt;Arc Smoothness&lt;BR /&gt;
&lt;BR /&gt;
My code is below, but it doesn't work.  The Arc Smoothness remains at the&lt;BR /&gt;
default (100)  and seems to ignore this code.&lt;BR /&gt;
&lt;BR /&gt;
    Dim acadApp As AcadApplication&lt;BR /&gt;
    Dim ThisDwg As AcadDocument&lt;BR /&gt;
Set ThisDwg = acadApp.ActiveDocument&lt;BR /&gt;
ThisDwg.ActiveViewport.ArcSmoothness = 1000&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help,&lt;BR /&gt;
-Tony.&lt;/TONY.&gt;&lt;/JORGE&gt;&lt;/JORGE&gt;&lt;/NOT.ROBERTB&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/JORGE&gt;&lt;/JOESUTPHIN&gt;&lt;/DF&gt;&lt;/JORGE&gt;&lt;/SPAMTHIS&gt;</description>
      <pubDate>Fri, 05 May 2006 23:48:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/setting-arcsmoothness/m-p/1630103#M34817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-05-05T23:48:04Z</dc:date>
    </item>
  </channel>
</rss>

