Page 1 of 1

DCAL: Hatch snapping points.

PostPosted: Mon May 01, 2017 9:16 pm
by dhs
Hatches created with hatch_mode in DCAL have snapping points associated with every single hatch line. This is not desirable and is a problem because for example the user may try to snap to a corner of the hatched area and without realising it actually snap to the end of a hatch line that is near the desired corner.

I think this is a bug in the hatch_mode procedure (although note that I am testing in DataCAD 11 ... it is possible it has been fixed in a more recent version?).

This appears to happen because hatch_mode creates the hatch lines with ent.attr field set to 5 (which is the value used for normal 2d lines when they are created manually).

You can overcome this problem by updating the hatch lines and setting the attr field of each entitiy to 1 (which is the value used for non-associative hatch lines when a hatch is created manually).