viewbase macro problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Working with ACAD2023 on Win10Pro, I'm trying to write a macro for a viewbase-command:
^C^C-viewbase;m;h;v;o;c;s;0.1;e;r;all;add;\\
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:
Command: -viewbase
VIEWBASE
Specify model source [Model space/File] <Model space>: m
Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] <Type>: h
Select style [Visible lines/vIsible and hidden lines/Shaded with visible lines/sHaded with visible and hidden lines] <Visible and hidden lines>: v
Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] <Type>: o
Select orientation [Current/Top/Bottom/Left/Right/Front/BAck/SW iso/SE iso/NE iso/NW iso] <Front>: c
Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] <Type>: s
Enter scale <0.001>: 0.1
Specify location of base view or [Type/sElect/Orientation/Hidden lines/Scale/Visibility] <Type>: e
Restoring cached viewports.
Command:
Select objects to add or [Remove/Entire model/LAYout] <return to layout>: r
Select objects to remove or [LAYout]: all
726 found
Select objects to remove or [LAYout]: add
Select objects to add or [Remove/Entire model/LAYout] <return to layout>:
52 found, 52 total
What am I missing here?