Task :
Insert a title block in paperspace with a scaled viewport
and have a rectangle scaled to outline the viewport created.
Pseudo Code :
Users picks title block based on paper size & job requirements
..options: DCL pick list, command line entry, insert block from file list
Title block is inserted in paper space at 0,0 for lower left corner
Based on title block size a vp is created to fit inside the title block
User prompted for vp scale
..options: DCL pick list, command line entry, screen menu pick list
Scale vp & get size
Switch to model space
Create a pline rectangle based on the vp size & scale picked
..pline width 0, layer defpoints, color green
move new rectangle to user picked location
..options: move rectangle showing drag, pick LL corner the move or create rectangle
I have said it several times, that the pseudo code is often the most
difficult part of the routine.
Are we getting close?
Please say we are
CAB