Article | 70001379 |
Type | Wish |
Product | WebJS |
Version | 7015 |
Date Added | 8/10/2018 12:00:00 AM |
Fixed | 7.7016.0.3 (8/16/2018 12:00:00 AM) |
Submitted by | Brendan Fry |
Summary
It will be possible to toggle the drawing of edges at a document level,so I could turn them all on or off at once.
Solution
In version 7016.0.3 a new property ApplyDrawEdges of canvas element has been added which by default is true so the edge lines of polyfaces will be drawn.
We can set it to false in order not to be drawn any edge line of all the polyfaces of the document.
If we want for example some polyfaces to be drawn using edge lines and some others not we have to use the property DrawEdges of the polyface object.
See more about DrawEdges property in article: 70001331
In the bellow example we disable the edge lines of the polyfaces.
vdcanvas.ApplyDrawEdges = false;
Bellow you can see the difference between show and hide the edge lines of a cube polyface: