ZoneDirection Property
ZoneDirection returns or sets the line directions to apply the color zones (a combination of the values). Returns an integer.
Syntax
object.ZoneDirection
object.ZoneDirection( Dir )
Parameter |
Type |
Description |
Dir |
Integer |
required |
Remarks
The srfWireDir enumeration values corresponds to the X, Y, and Z lines of constant:
srfWireXDir = 1, lines of constant X
srfWireYDir = 2, lines of constant Y
srfWireZDir = 4, lines of constant Z
The parameter Dir takes any combination of these numeric values. Example 2 explains this.
Example 1
This example demonstrates how to return which direction color zones have been applied.
Debug.Print Wireframe.ZoneDirection
Example 2
This example demonstrates how to apply color zones to the X and Y lines. (Equivalent to the Apply zones to lines of constant field on the Color Zones page in the wireframe properties dialog.)
Wireframe.ZoneDirection = 3
or,
Wireframe.ZoneDirection = srfWireXDir + srfWireYDir
Used by: Wireframe object