Author | IMSI/SoftDev | [Prev] [Next] by Author |
Category | Graphic - Create | [Prev] [Next] by Category |
Keywords: | ||
Type (Source?) | Macro (VBA) | |
Licence | Example | |
Status | To be reviewed |
Description
This example shows how to work with viewports in a TurboCAD drawing, including naming, adding and deleting viewports. It also demonstrates how to move between paper and model space.
This maco uses the following objects: ActiveDrawing, BoundingBox, NamedView, NamedViews, and Graphic.
Build Instructions
Download and unzip the archive. Add a new project named "ViewportEx" to any TurboCAD drawing, and attach the ViewPort.tcm file.
There are five macros: AddViewport, CreateVpNamedView, DeleteVpNamedView, SetModelSpace and SetPaperSpace.