Camera Sample

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


Description:

Description

This example shows how to manipulate the View using the Camera object. Zoom, scroll, tilt, pan, orbit and rotate methods are exercised, as well changing to/from perspective view. This macro uses a dialog box (user form) and shows have to give feedback to the user (X, Y, Z coordinates are updated as view is manipulated).

This macros uses the following objects: Application, Camera, Drawing, Render, Renders, RenderView, Vertex, and View.

Build Instructions

Download and unzip the archive. Add a new project named "CameraTest" to any TurboCAD drawing, and attach the CameraSample.tcm file. Run the CameraTest macro and click on the various buttons to zoom, scroll, tilt, pan, orbit and rotate your view.



This macro should be available in your 'Macros' folder

Comments:




Download: .../IMSI/VBA/Camera.zip (36KB)
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_00151.htm' target = '_blank'>TCDRC - Page 00151</A>