<?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 Betreff: viewbase macro problem in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382935#M51634</link>
    <description>&lt;P&gt;Join command: Right, that was another thing you stumbled over.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The Viewbase command (not -viewbase) , started by hand or by macro is the same "version",&lt;/P&gt;
&lt;P&gt;but the switch "from remove all to the ADD method" works differently &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Looks like a kind of bug, send feedback to AutoDESK or start a supportcase or any other way to inform about this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Not related to 2023! (did you searched about this problem in older posts? I didn't)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; If you can't find a solution, go the workaround, for example by Lisp-Command&lt;/P&gt;
&lt;P&gt;(command "_.VIEWBASE" "_m" "_h" "_v" "_o" "_c" "_s" "0.1" "_e" "_r" "_all" "_add" (ssget "_:S"))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;(command "_.VIEWBASE" "_m" "_h" "_v" "_o" "_c" "_s" "0.1" "_e" "_r" "_all" "_add" (ssget "_:S") "" PAUSE)&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;(command "_.VIEWBASE" "_m" "_h" "_v" "_o" "_c" "_s" "0.1" "_e" "_r" "_all" "_add" (ssget "_:S") "" PAUSE "")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"" means &amp;lt;enter&amp;gt; or ;&lt;/P&gt;
&lt;P&gt;"whatever" means whatever&amp;lt;enter&amp;gt; or whatever;&lt;/P&gt;
&lt;P&gt;PAUSE means ONE userinput or \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 11:26:10 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2022-08-26T11:26:10Z</dc:date>
    <item>
      <title>viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382769#M51628</link>
      <description>&lt;P&gt;Working with ACAD2023 on Win10Pro, I'm trying to write a macro for a viewbase-command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C-viewbase;m;h;v;o;c;s;0.1;e;r;all;add;\\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command needs to run the viewbase command, change to Mspace, deselect all and add the selected opbjects. Everything runs fine, until the add-part. For some reason, after ...r;all; some objects stay selected and the 'add' gives a problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: -viewbase&lt;/P&gt;&lt;P&gt;VIEWBASE&lt;/P&gt;&lt;P&gt;Specify model source [Model space/File] &amp;lt;Model space&amp;gt;: m&lt;/P&gt;&lt;P&gt;Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] &amp;lt;Type&amp;gt;: h&lt;/P&gt;&lt;P&gt;Select style [Visible lines/vIsible and hidden lines/Shaded with visible lines/sHaded with visible and hidden lines] &amp;lt;Visible and hidden lines&amp;gt;: v&lt;/P&gt;&lt;P&gt;Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] &amp;lt;Type&amp;gt;: o&lt;/P&gt;&lt;P&gt;Select orientation [Current/Top/Bottom/Left/Right/Front/BAck/SW iso/SE iso/NE iso/NW iso] &amp;lt;Front&amp;gt;: c&lt;/P&gt;&lt;P&gt;Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] &amp;lt;Type&amp;gt;: s&lt;/P&gt;&lt;P&gt;Enter scale &amp;lt;0.001&amp;gt;: 0.1&lt;/P&gt;&lt;P&gt;Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] &amp;lt;Type&amp;gt;: e&lt;/P&gt;&lt;P&gt;Restoring cached viewports.&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;Select objects to add or [Remove/Entire model/LAYout] &amp;lt;return to layout&amp;gt;: r&lt;/P&gt;&lt;P&gt;Select objects to remove or [LAYout]: all&lt;/P&gt;&lt;P&gt;726 found&lt;/P&gt;&lt;P&gt;Select objects to remove or [LAYout]: add&lt;/P&gt;&lt;P&gt;Select objects to add or [Remove/Entire model/LAYout] &amp;lt;return to layout&amp;gt;:&lt;/P&gt;&lt;P&gt;52 found, 52 total&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 09:27:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382769#M51628</guid>
      <dc:creator>geraldbossink</dc:creator>
      <dc:date>2022-08-26T09:27:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382796#M51629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;"What am I missing here?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am missing here the original text log, it looks like you posted not the original one.&lt;/P&gt;
&lt;P&gt;How did you copy this log, from where and how did you copied?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;"What am I missing here?"&lt;/P&gt;
&lt;P&gt;How should we know that without your drawing (is it drawing dependend?)&lt;/P&gt;
&lt;P&gt;and without to know your both clickpoint for your object selection?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if the problem is really random: Nobody can fix a random problem,&lt;/P&gt;
&lt;P&gt;you need to find more details about the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;After "remove all", when AutoDESK asking for (add) objects, in this moment: Can you see highlighted/selection objects?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(this is what I imagine frome your post)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="simple-translate"&gt;
&lt;DIV&gt;
&lt;DIV class="simple-translate-button isShow" style="background-image: url('moz-extension://c5d1cf00-4e84-4818-a0e3-d14b1fa33d30/icons/512.png'); height: 22px; width: 22px; top: 165px; left: -97px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-panel " style="width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px; background-color: #ffffff;"&gt;
&lt;DIV class="simple-translate-result-wrapper" style="overflow: hidden;"&gt;
&lt;DIV class="simple-translate-move" draggable="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-result-contents"&gt;
&lt;P class="simple-translate-result" style="color: #000000;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="simple-translate-candidate" style="color: #737373;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Aug 2022 09:51:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382796#M51629</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-08-26T09:51:15Z</dc:date>
    </item>
    <item>
      <title>Betreff: viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382804#M51630</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;: the log is copied from the text window after running the command, it's the original one. And since the porblem is drawing-independent I didn't post the drawing. In my opinion it's something in the macro I'm missing, not something in the drawing.&lt;/P&gt;&lt;P&gt;Running the series of commands on the command line manually works fine, when putting it in a macro it isn't&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 09:59:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382804#M51630</guid>
      <dc:creator>geraldbossink</dc:creator>
      <dc:date>2022-08-26T09:59:17Z</dc:date>
    </item>
    <item>
      <title>Betreff: viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382832#M51631</link>
      <description>&lt;P&gt;ahh okay, my fail:&lt;/P&gt;
&lt;P&gt;The textlog was different because I compared it with a manually typed in sequence,&lt;/P&gt;
&lt;P&gt;in this case the feedback of object selection looks like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select objects to remove or [LAYout]: all&lt;BR /&gt;3 found, 2 removed, 0 total&lt;/P&gt;
&lt;P&gt;instead of the macro feedback&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select objects to remove or [LAYout]: all&lt;/P&gt;
&lt;P&gt;2 found&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Back to the topic:&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;". In my opinion it's something in the macro I'm missing, not something in the drawing."&lt;/P&gt;
&lt;P&gt;So is it a problem in every file, in every macro-run you trying?&lt;/P&gt;
&lt;P&gt;Or random...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 10:24:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382832#M51631</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-08-26T10:24:42Z</dc:date>
    </item>
    <item>
      <title>Betreff: viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382850#M51632</link>
      <description>&lt;P&gt;NOW I can see what you see!&lt;/P&gt;
&lt;P&gt;crazy&lt;/P&gt;
&lt;P&gt;If I have time for it, I will send my feedback.&lt;/P&gt;
&lt;DIV id="simple-translate"&gt;
&lt;DIV&gt;
&lt;DIV class="simple-translate-button isShow" style="background-image: url('moz-extension://c5d1cf00-4e84-4818-a0e3-d14b1fa33d30/icons/512.png'); height: 22px; width: 22px; top: 56px; left: 236px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-panel " style="width: 300px; height: 200px; top: 0px; left: 0px; font-size: 13px; background-color: #ffffff;"&gt;
&lt;DIV class="simple-translate-result-wrapper" style="overflow: hidden;"&gt;
&lt;DIV class="simple-translate-move" draggable="true"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="simple-translate-result-contents"&gt;
&lt;P class="simple-translate-result" style="color: #000000;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="simple-translate-candidate" style="color: #737373;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Aug 2022 10:34:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382850#M51632</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-08-26T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Betreff: viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382891#M51633</link>
      <description>&lt;P&gt;It looks like a problem I had with a join command. In that case the macro ran an older join-command than when typed in the command line or using the join-button in the ribbon (old join command didn't allow multiple object selection, new join-command did). Solution in that case was to add ^R in front of the join-command in the macro, in order to run the new join-command. I tried this for the viewbase-command, but didn't work out.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 10:58:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382891#M51633</guid>
      <dc:creator>geraldbossink</dc:creator>
      <dc:date>2022-08-26T10:58:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: viewbase macro problem</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382935#M51634</link>
      <description>&lt;P&gt;Join command: Right, that was another thing you stumbled over.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The Viewbase command (not -viewbase) , started by hand or by macro is the same "version",&lt;/P&gt;
&lt;P&gt;but the switch "from remove all to the ADD method" works differently &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Looks like a kind of bug, send feedback to AutoDESK or start a supportcase or any other way to inform about this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Not related to 2023! (did you searched about this problem in older posts? I didn't)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; If you can't find a solution, go the workaround, for example by Lisp-Command&lt;/P&gt;
&lt;P&gt;(command "_.VIEWBASE" "_m" "_h" "_v" "_o" "_c" "_s" "0.1" "_e" "_r" "_all" "_add" (ssget "_:S"))&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;(command "_.VIEWBASE" "_m" "_h" "_v" "_o" "_c" "_s" "0.1" "_e" "_r" "_all" "_add" (ssget "_:S") "" PAUSE)&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;(command "_.VIEWBASE" "_m" "_h" "_v" "_o" "_c" "_s" "0.1" "_e" "_r" "_all" "_add" (ssget "_:S") "" PAUSE "")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"" means &amp;lt;enter&amp;gt; or ;&lt;/P&gt;
&lt;P&gt;"whatever" means whatever&amp;lt;enter&amp;gt; or whatever;&lt;/P&gt;
&lt;P&gt;PAUSE means ONE userinput or \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:26:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/viewbase-macro-problem/m-p/11382935#M51634</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-08-26T11:26:10Z</dc:date>
    </item>
  </channel>
</rss>

