Create Viewport

AuthorIMSI/SoftDev [Prev] [Next] by Author
CategoryGraphic - Create [Prev] [Next] by Category
Keywords:
Type (Source?)Macro (VBA)
LicenceExample
StatusTo be reviewed


Description:

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.



This macro should be available in your 'Macros' folder

Comments:




Download: .../IMSI/VBA/ViewPort.zip (13KB)
More Info: http://www3.imsisoft.com/turbocad/tcsdk/


Email Comment. Use this link to email comments, corrections, additional information etc for this topic.

URL of this page: <A href ='http://www.bcitool.com/TCDRC/?Pages/Page_00177.htm' target = '_blank'>TCDRC - Page 00177</A>