This AutoCAD routine from Raymond Rizkallah allows you to set and/or query the scale for viewports. Start by loading the LISP file, then type in the command VPSIN to set the viewport scale or VPSOUT to query the scale of an existing viewport. For VPSIN, you will be asked for the paper space units (generally 1) and the model space drawing units. This routine is set up for metric only, allowing you to specify model space drawing units in meters, millimeters, centimeters, or kilometers. |