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 nuts.
This macro uses the following objects: Application, Drawing, Graphic, and Graphics.
Build Instructions
Download and unzip the archive. Add a new project named "Nut" to any TurboCAD drawing, and attach the Nuts.tcm file.
There are three macros: HexNut, HexSlottedNut, and LowCrownNut. Select which nut you wish to draw and a dialog box will be presented. Change the diameter click OK.
I'm not sure why, but the created graphic is not always a vaid object.