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 create a TurboCAD Double Line regen graphic. You can set the following extended properties to control how the double line is drawn:
Extended Property Name | UI Property Page Control Name | Description and Values |
---|---|---|
$DLINEWID | Separation | Separation between the two lines. |
$DLINECS | End Caps - Start | Boolean. True if you want start caps. |
$DLINECE | End Caps - End | Boolean. True if you want end caps. |
$DLINEALG | Reference | Reference Center (0) , Left (1) or Right (2). |
$DLINETS | n/a | Boolean. Not used. |
$DLINETE | n/a | Boolean. Not used. |
This macro uses the following objects: Drawing, Graphic, Graphics, and Properties.
Build Instructions
Download and unzip the archive. Add a new project named "DblLine" to any TurboCAD drawing, and attach the DblLine.tcm file. Run the CreateDblLine1 macro. Add and or change the double line extended properties to create different double line results.