70000204 Osnap EndPoint and Nearest exclusion when they are not visible in 3D

Article 70000204
Type Wish
Product Engine
Version 7002
Date Added 12/12/2014
Fixed (12/12/2014)
Submitted by Karthik Bala

Summary

Osnap EndPoint and Nearest exclusion when they are not visible in 3D

Solution

In version 7003.0.2 a new property OsnapModeVisibilty of vdDoucment was added: Get/set the osnaps that will excluded if they are not visible in 3d Default value is OsnapMode.None, and none osnaps are excluded.
If you want the invisible osnaps END not to be added set OsnapModeVisibilty value to OsnapMode.End
If you want all types of invisible osnaps not to be added set it to OsnapMode.All
You can control the depth compare equality by the VectorDraw.Geometry.Globals.DefaultDepthRangeEquality
The default value for VectorDraw.Geometry.Globals.DefaultDepthRangeEquality is 4095, that converts a depth value to a value from 0 to 4095. Bigger values means better equality. Valid values 0 to 16777215.

Send comments on this topic.