Please read the CODE POSTING GUIDELINES and edit your post.![]()
It will make it easier to read.

Registered forum members do not see this ad.
marco is stopping after a user input. i have 2 view ports in one drawing, my macro unlocks all vports, then sets the first view then user input to select the correct viewport, then set the second view then user input to select the correct viewport, the script will then run on to save the drawing, saveas ...... then start over.
The problem is the command stops after i have selected the viewport saying invalid selection as below. dows anyone know how i can fix this!!
Command: -view
Enter an option [?/Delete/Orthographic/Restore/Save/sEttings/Window]: R
Enter view name to restore: "Sheet_1T"
Restoring Model space view.
Select Viewport for view: \
*Invalid selection*
Expects a point or Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group
Select Viewport for view:
Command:
here is the macro i'm using:
another option could be to name the viewports somehow and include the viewport names into the script but i'm can't quiet think how i would do this!Code:Tilemode 0 zoom extents -vports L OFF _ALL -view R "Sheet_1T" \ _.PSPACE -view R "Sheet_1B" \ -vports l on _all _.pspace
any help would be great thanks
Last edited by Spinxy; 3rd Apr 2012 at 12:14 am.
Please read the CODE POSTING GUIDELINES and edit your post.![]()
It will make it easier to read.
“A narrow mind and a fat head invariably come on the same person” Zig Zigler
![]()

Registered forum members do not see this ad.
Cheers post edited
Bookmarks