70001953 Hatch is not working properly with 3d polylines

Article 70001953
Type Wish
Product Engine
Version 9001
Date Added 4/8/2021 12:00:00 AM
Fixed 9.9002.0.1 (4/28/2021 12:00:00 AM)
Submitted by Matthew Ross

Summary

Hatch is not working properly with 3d polylines

Solution

In version 9002.0.1
A new value HatchingMethod.LinearView of vdHatchProperties.HatchMode property was added
Uses linear algorithm and align the patterns in the current view.
Useful when hatching single 3d polylines
LinearView is not supported when hatch contains more than one curves
LinearView is supported for non solid patterns
If hatch pattern is too small to display in active view zoom, then is rendering as dpi pattern with horizondal lines with offset distance from document.GlobalRenderProperties.DPIPatternOffset property
document.GlobalRenderProperties.DPIPatternOffset Specifies the offset in inches between pattern lines of Dpi patterns on the output device.
NOTE: Avoid to use it with entities inside blocks with large number of items when use 3d render modes because it may affect performance.
NOTE:if you have a 3d polyline and want to set a solid hatch then you use one of the following options.
1. use HatchingMethod.AutoNormal .
2. set proper ExtrutionVector for the 3d polyline .
3. you can manually convert it to the new vdPolyfaceHatched object (see article 70001959).

Send comments on this topic.