Author | IMSI/SoftDev | [Prev] [Next] by Author |
Category | Graphic - Create | [Prev] [Next] by Category |
Keywords: | ||
Type (Source?) | Macro (VBA) | |
Licence | Freeware | |
Status | To be reviewed |
Description
This example shows how to use dialog boxes (user forms) to interact with a user, along with code to create three different types of bolts.
This macro uses the following objects: Application, Drawing, Graphic, and Graphics.
Build Instructions
Download and unzip the archive. Add a new project named "Bolt" to any TurboCAD drawing, and attach the Bolt.tcm file.
There are three macros: HexBolt, RHBolt, and RHSNBolt. Select which bolt you wish to draw and a dialog box will be presented. Change the diameter and length fields and click OK.