This document is archived and information here might be outdated. Recommended version. |
Invalidates the portion of the display that is occupied by the sketch.
[Visual Basic .NET]
Public Sub RefreshSketch ( _
)
[C#]
public void RefreshSketch (
);
[C++]
HRESULT RefreshSketch(
void
);
Call RefreshSketch to invalidate the portion of the display that is occupied by the sketch. Sometimes, however, it may be necessary to invalidate a larger portion of the display in order to get rid of unwanted artifacts. This situation can arise when you shorten the length of a segment since old data may still be erroneously displayed outside of the new sketch geometry.
This method fires the IEngineEditEvents::OnAfterDrawSketch event.