Well, here I am answering my own question...but perhaps someone more knowledgable can comment - I'm in pretty deep water here.
So, I created a macro as follows:
Code:
^C^C_-vports \\mspace;z;c \;z;s \'_script
This creates a new viewport, which gets user input to pick points, center the plan in model space, and then for the scale of the viewport. It's assumed that the user has already loaded the base-plan xref. I was looking for a way to make scale entry simpler...putting in "1/48xp" for quarter scale isn't very intuitive.
Then, I created a script for the user to run from within the macro:
Code:
;This script creates a plan layer setup within a viewport
XREF RELOAD *BASE*
VPLAYER
FREEZE *BASE*|*
FREEZE A-ANNO-NOTE*
FREEZE A-ANNO-DIMS*
THAW A-ANNO-NOTE-PLAN
THAW A-ANNO-DIMS-PLAN
THAW *A-FLOR*
THAW *A-EXST-FLOR*
THAW *A-EXST-WALL*
THAW *A-WALL*
PSPACE
This does the job of setting up the layers to print properly from within the viewport. It isn't perfect, and there's no error checking. Now I just have to create the other scripts (RCP, Demo, etc).
As for using variables in macros from my first post: the setenv command creates random variables...but I'm thinking my current route is probably the best. Comments?
Bookmarks