sketch.set.zone.autodir

Syntax

i := sketch.set.zone.autodir(sp)
sketch.set.zone.target.autodir(sp) := i

The function only applies to 3D case (when 3D zones are generated from the sketch).

Get/set the flag for auto-zoning direction. Possible return/assignment values are: 0 = all (both directions); 1 = x,y (construction direction); 2 - normal (extrusion direction).

Returns:

i - integer

Accepts:

i - integer

Arguments:

sp - sketch set pointer