acedSetCurrentVPort |
This function sets the current viewport from the AcDbViewport object pointed to by pVp.SysVarWillChange and SysVarChanged notification are generated by this function.You must be in model space for this function to work properly. This can be done using the following steps:- Turn TILEMODE off and switch to paper space if necessary.
- Create a viewport using acedCommand/MVIEW.
- Use acedCommand/zoom-extents to ensure that the view was on the screen.
- Make sure that the viewport was turned on using acedCommand MVIEW/ON last.
- Switch to model space using acedCommand /MSPACE.
- Set CVPORT to the number of your viewport to... more
|